Skip to content

Commit 99a14c1

Browse files
committed
chore: Fixing PR workflow trigger for forks
1 parent 65b2f84 commit 99a14c1

File tree

1 file changed

+9
-4
lines changed

1 file changed

+9
-4
lines changed
Lines changed: 9 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,15 @@
11
name: Git PR Status Checks
22

33
on:
4-
pull_request: {}
5-
4+
pull_request:
5+
branches:
6+
- main
7+
pull_request_target:
8+
branches:
9+
- main
10+
611
concurrency:
7-
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
12+
group: ${{ github.event.pull_request.head.repo.full_name }}-${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
813
cancel-in-progress: true
914

1015
permissions:
@@ -14,7 +19,7 @@ permissions:
1419
actions: write
1520
checks: write
1621
statuses: write
17-
22+
1823
jobs:
1924
pr-status-check:
2025
uses: "openmcp-project/blueprint-workflows/.github/workflows/git-pr-status-checks.yml@main"

0 commit comments

Comments
 (0)