Skip to content

Commit a6e0f98

Browse files
committed
[DEVOPS-825] make Mira and upstream Simpeg workflow for Zizmor exclusive
1 parent b5f7fd1 commit a6e0f98

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

.github/workflows/zizmor-security-mira.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ on:
2020
jobs:
2121
call-workflow-zizmor:
2222
name: Zizmor analysis
23+
# run on the Mira repo only (upstram SimPEG repo has its own workflow for Zizmor)
24+
if: startsWith(github.repository, 'MiraGeoscience/')
2325
permissions:
2426
contents: read
2527
actions: read

.github/workflows/zizmor-security-upstream.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ permissions: {}
1313

1414
jobs:
1515
lint:
16+
# run only if not on the Mira repo (MiraGeoscience repo has its own workflow for Zizmor)
17+
if: ${{ !startsWith(github.repository, 'MiraGeoscience/') }}
1618
runs-on: ubuntu-latest
1719
steps:
1820
- name: Checkout

0 commit comments

Comments
 (0)