Skip to content

Commit

Permalink
ci: update collaborator check in the benchmarks workflow (#574)
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh authored Aug 2, 2024
1 parent 8ae31b9 commit c324128
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .github/workflows/edr-benchmark.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ jobs:
environment: github-action-benchmark
runs-on: self-hosted
# Only run for trusted collaborators since third-parties could run malicious code on the self-hosted benchmark runner.
if: github.ref == 'refs/heads/main' || (github.event.pull_request.author_association == 'OWNER' || github.event.pull_request.author_association == 'MEMBER' || github.event.pull_request.author_association == 'COLLABORATOR')
if: github.ref == 'refs/heads/main' || github.repository == github.event.pull_request.head.repo.full_name
steps:
- uses: actions/checkout@v3

Expand Down

0 comments on commit c324128

Please sign in to comment.