This commit is contained in:
alyssa 2024-09-06 16:14:27 +09:00
parent 6dd7a8a0af
commit 7a57e0b782
4 changed files with 5 additions and 7 deletions

View file

@ -1,10 +1,8 @@
name: PluralKit CI
on:
push:
pull_request:
workflow_dispatch:
inputs:
dispatchData:
dispatchData: {}
jobs:
run:
@ -22,7 +20,7 @@ jobs:
GIT_SHA: ${{ github.sha }}
REPO_URL: https://github.com/${{ github.repository }}
ACTION_LOGS_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}/jobs/${{ jobs. }}
ACTION_LOGS_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
DISPATCH_DATA: ${{ inputs.dispatchData }}
steps:

View file

@ -21,7 +21,7 @@ jobs:
spawn_jobs:
name: Spawn jobs
runs-on: ubuntu-latest
needs: ["build-ci-container"]
needs: ["build_container"]
container:
image: ghcr.io/pluralkit/ci:${{ github.sha }}
volumes:

View file

@ -33,7 +33,7 @@ def report_status(name, start_time, exit=None):
'started_at': start_time,
'output': {
'title': name,
'summary': f"dasdfasdfasdf", # todo
'summary': f"Check logs at {must_get_env("ACTION_LOGS_URL")}",
'text': "[]",
'annotations': []
},

View file

@ -97,7 +97,7 @@ def create_jobs():
if len(jobs) == 0:
print("no jobs to run (??)")
exit 0
return 0
if __name__ == "__main__":
print("hello from python!")