27 lines
658 B
YAML
27 lines
658 B
YAML
name: completed-ci-badge
|
|
|
|
on:
|
|
workflow_run:
|
|
workflows: [main-release-gate, next-build]
|
|
types: [completed]
|
|
workflow_dispatch:
|
|
|
|
concurrency:
|
|
group: alkane-os-completed-ci-badge
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
publish:
|
|
runs-on: alkane-verify
|
|
container:
|
|
image: gitea.bluefla.re/blueflare/alkane-ci@sha256:ad56db2fc456a3f1c68c715ba44309751cb5c455376d9f797ac346833c011e15
|
|
permissions:
|
|
actions: read
|
|
contents: write
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
- name: Publish last completed attempts
|
|
env:
|
|
GITEA_TOKEN: ${{ secrets.GITEA_TOKEN }}
|
|
run: python3 ci/last-attempt-badge.py
|