Skip to content

Commit

Permalink
fix(CI): Update to pull_request trigger (#2056)
Browse files Browse the repository at this point in the history
## Problem
Using `pull_request_target` can expose secrets based on a quirk in how
GitHub applies permissions to forks. See
https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#pull_request_target

## Solution
Change trigger from `pull_request_target` to `pull_request`
  • Loading branch information
ryanfoxtyler committed Apr 8, 2024
1 parent 6acc8e8 commit fece30f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/ci-badger-tests-coverage.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
name: ci-badger-tests-coverage
on:
pull_request_target:
pull_request:
branches:
- main
- 'release/v*'
Expand Down

0 comments on commit fece30f

Please sign in to comment.