This commit is contained in:
alyssa 2024-09-06 16:11:14 +09:00
parent d2553e7ca8
commit 6dd7a8a0af
6 changed files with 215 additions and 89 deletions

29
.github/workflows/ci-runner.yml vendored Normal file
View file

@ -0,0 +1,29 @@
name: PluralKit CI
on:
push:
pull_request:
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 }}/jobs/${{ jobs. }}
DISPATCH_DATA: ${{ inputs.dispatchData }}
steps:
- run: /ci/run_ci.py