mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 04:56:49 +00:00
test
This commit is contained in:
parent
6dd7a8a0af
commit
7a57e0b782
4 changed files with 5 additions and 7 deletions
6
.github/workflows/ci-runner.yml
vendored
6
.github/workflows/ci-runner.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
2
.github/workflows/ci.yml
vendored
2
.github/workflows/ci.yml
vendored
|
|
@ -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:
|
||||
|
|
|
|||
|
|
@ -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': []
|
||||
},
|
||||
|
|
|
|||
|
|
@ -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!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue