Skip to content

Commit

Permalink
ci: prevent duplicate runs
Browse files Browse the repository at this point in the history
from 540ac89
  • Loading branch information
Constrat authored Dec 14, 2024
1 parent 5018cfb commit 98ae00f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/CodeQL.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,10 @@ permissions:

jobs:
CodeQL:
# Prevent duplicate runs on organization branches with PRs
if: github.event_name != 'pull_request' ||
github.event.pull_request.head.repo.full_name !=
github.event.pull_request.base.repo.full_name
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
Expand Down

0 comments on commit 98ae00f

Please sign in to comment.