PluralKit/.github/workflows/ci-runner.yml
2024-09-06 16:19:41 +09:00

27 lines
728 B
YAML

name: PluralKit CI
on:
workflow_dispatch:
inputs:
dispatchData: {}
jobs:
run:
name: Run CI
runs-on: ubuntu-latest
container:
image: ghcr.io/pluralkit/ci:${{ github.sha }}
volumes:
- /var/run/docker.sock:/var/run/docker.sock
env:
DOCKER_HOST: unix:///var/run/docker.sock
GITHUB_APP_TOKEN: ${{ secrets.COMMIT_STATUS_TOKEN }}
DISCORD_WEBHOOK: ${{ secrets.DISCORD_WEBHOOK }}
GIT_SHA: ${{ github.sha }}
REPO_URL: https://github.com/${{ github.repository }}
ACTION_LOGS_URL: ${{ github.server_url }}/${{ github.repository }}/actions/runs/${{ github.run_id }}
DISPATCH_DATA: ${{ inputs.dispatchData }}
steps:
- run: /run_ci.py