Files
headscale/.github/workflows/needs-more-info-comment.yml
T
Kristoffer Dalby 712bd74017 .github: stop persisting checkout credentials
Only mike and vouch push; their checkouts keep the token, explicitly.
2026-11-20 19:47:15 +01:00

30 lines
830 B
YAML

name: Needs More Info - Post Comment
on:
issues:
types: [labeled]
jobs:
post-comment:
if: >-
github.event.label.name == 'needs-more-info' &&
github.repository == 'juanfont/headscale'
runs-on: ubuntu-latest
permissions:
issues: write
contents: read
steps:
- name: Checkout repository
uses: actions/checkout@v7.0.1
with:
persist-credentials: false
sparse-checkout: .github/label-response/needs-more-info.md
sparse-checkout-cone-mode: false
- name: Post instruction comment
run: gh issue comment "$NUMBER" --body-file .github/label-response/needs-more-info.md
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}