mirror of
https://github.com/juanfont/headscale.git
synced 2026-08-07 07:48:44 +09:00
36 lines
1.1 KiB
YAML
36 lines
1.1 KiB
YAML
name: "Vouch - Manage by Issue"
|
|
|
|
on:
|
|
issue_comment:
|
|
types: [created]
|
|
|
|
concurrency:
|
|
group: vouch-manage
|
|
cancel-in-progress: false
|
|
|
|
jobs:
|
|
manage:
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
|
|
id: app-token
|
|
with:
|
|
app-id: ${{ secrets.VOUCH_APP_ID }}
|
|
private-key: ${{ secrets.VOUCH_APP_PRIVATE_KEY }}
|
|
|
|
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
with:
|
|
token: ${{ steps.app-token.outputs.token }}
|
|
|
|
- uses: mitchellh/vouch/action/manage-by-issue@d66fa29a64600490892131ad87597c30c91fcac4 # v1.5.0
|
|
with:
|
|
repo: ${{ github.repository }}
|
|
issue-id: ${{ github.event.issue.number }}
|
|
comment-id: ${{ github.event.comment.id }}
|
|
vouch-keyword: "!vouch"
|
|
denounce-keyword: "!denounce"
|
|
unvouch-keyword: "!unvouch"
|
|
pull-request: "true"
|
|
merge-immediately: "true"
|
|
env:
|
|
GITHUB_TOKEN: ${{ steps.app-token.outputs.token }} |