Skip to content

Commit f89762c

Browse files
committed
[DEVOPS-693] fix job names in zizmor workflow
was flipped
1 parent 886af10 commit f89762c

1 file changed

Lines changed: 8 additions & 8 deletions

File tree

.github/workflows/security_scan.yml

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,19 +25,19 @@ concurrency:
2525

2626
jobs:
2727
call-workflow-zizmor-annotate:
28-
name: Zizmor analysis (advanced security)
29-
if: ${{ github.event_name != 'pull_request' }}
28+
name: Zizmor analysis (annotate)
29+
if: ${{ github.event_name == 'pull_request' }}
3030
permissions:
31-
security-events: write
31+
checks: write
3232
contents: read
3333
actions: read
34-
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-advanced-security.yml@v2
34+
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-annotate.yml@v2
3535

3636
call-workflow-zizmor-advanced-security:
37-
name: Zizmor analysis (annotate)
38-
if: ${{ github.event_name == 'pull_request' }}
37+
name: Zizmor analysis (advanced security)
38+
if: ${{ github.event_name != 'pull_request' }}
3939
permissions:
40-
checks: write
40+
security-events: write
4141
contents: read
4242
actions: read
43-
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-annotate.yml@v2
43+
uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-advanced-security.yml@v2

0 commit comments

Comments
 (0)