Skip to content

Commit

Permalink
Fix robotpy PR commenting for real this time
Browse files Browse the repository at this point in the history
  • Loading branch information
Gold856 committed Jun 9, 2024
1 parent 72ae751 commit b495963
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions .github/workflows/command-robotpy-pr.yml
Original file line number Diff line number Diff line change
@@ -1,20 +1,22 @@
name: Comment on PR for robotpy

on:
pull_request:
pull_request_target:
types:
- opened
paths:
- 'wpilibNewCommands/**'

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,
Expand Down

0 comments on commit b495963

Please sign in to comment.