Skip to content

Commit 740201a

Browse files
authored
Scope workflow to test instead of release branches (DataDog#10297)
1 parent b166862 commit 740201a

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

.github/chainguard/self.pin-system-tests.create-pr.sts.yaml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
issuer: https://token.actions.githubusercontent.com
22

3-
subject_pattern: repo:DataDog/dd-trace-java:ref:refs/heads/(master|release/v.+)
3+
subject_pattern: repo:DataDog/dd-trace-java:ref:refs/heads/(master|test/v.+)
44

55
claim_pattern:
66
event_name: (create|workflow_dispatch)
7-
ref: refs/heads/(master|release/v.+)
8-
job_workflow_ref: DataDog/dd-trace-java/\.github/workflows/pin-system-tests\.yaml@refs/heads/(master|release/v.+)
7+
ref: refs/heads/(master|test/v.+)
8+
job_workflow_ref: DataDog/dd-trace-java/\.github/workflows/pin-system-tests\.yaml@refs/heads/(master|test/v.+)
99

1010
permissions:
1111
contents: write

.github/workflows/pin-system-tests.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ on:
1313
jobs:
1414
pin-system-tests:
1515
name: "Pin system tests"
16-
if: github.event_name != 'create' || contains(github.ref, 'release/v')
16+
if: github.event_name != 'create' || contains(github.ref, 'test/v')
1717
runs-on: ubuntu-latest
1818
permissions:
1919
contents: write

0 commit comments

Comments
 (0)