[ci] Use the comment command token for robotpy comment action (#6711)

This commit is contained in:
Gold856
2024-06-07 19:15:30 -04:00
committed by GitHub
parent 5b94421b5a
commit 1c884b2260

View File

@@ -9,15 +9,12 @@ on:
jobs:
comment:
permissions:
issues: write
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Comment on PR
uses: actions/github-script@v7
with:
github-token: ${{ secrets.COMMENT_COMMAND_PAT_TOKEN }}
script: |
github.rest.issues.createComment({
issue_number: context.issue.number,