Skip to content

Commit

Permalink
use pull_request_target to fix permissions issue when attempting to c…
Browse files Browse the repository at this point in the history
…omment on PR
  • Loading branch information
zacharyburnett committed Jun 26, 2024
1 parent ac9c104 commit 542aba7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ on:
- main
tags:
- "*"
pull_request:
pull_request_target:
schedule:
# Weekly Monday 9AM build
# * is a special character in YAML so you have to quote this string
Expand Down Expand Up @@ -44,7 +44,7 @@ jobs:
- linux: py311-romancal-xdist
report_diff_coverage:
needs: [ test ]
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request_target'
runs-on: ubuntu-latest
steps:
- uses: actions/setup-python@v5
Expand Down

0 comments on commit 542aba7

Please sign in to comment.