Skip to content

Commit

Permalink
Use the comment command token
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold856 committed Jun 7, 2024
1 parent 5b94421 commit a58af55
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .github/workflows/command-robotpy-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit a58af55

Please sign in to comment.