diff --git a/.github/workflows/ci-runner.yml b/.github/workflows/ci-runner.yml index b1d68185..2f76c9e2 100644 --- a/.github/workflows/ci-runner.yml +++ b/.github/workflows/ci-runner.yml @@ -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: diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index b940fcb5..a67653b6 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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: diff --git a/ci/run_ci.py b/ci/run_ci.py index 82401cfc..570e4bef 100644 --- a/ci/run_ci.py +++ b/ci/run_ci.py @@ -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': [] }, diff --git a/ci/spawn_jobs.py b/ci/spawn_jobs.py index ae1fd2aa..68ba1929 100755 --- a/ci/spawn_jobs.py +++ b/ci/spawn_jobs.py @@ -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!")