[ci] Fix robotpy PR commenting (#6723)

This commit is contained in:
Gold856
2024-06-09 09:37:30 -04:00
committed by GitHub
parent 3617a95260
commit b9935c9885

View File

@@ -1,7 +1,7 @@
name: Comment on PR for robotpy
on:
pull_request:
pull_request_target:
types:
- opened
paths:
@@ -9,12 +9,14 @@ on:
jobs:
comment:
permissions:
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,