allow geoh5py 0.13* #6
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| name: Security Scan | |
| on: | |
| pull_request: | |
| types: [opened, synchronize, reopened, ready_for_review] | |
| branches: | |
| - develop | |
| - main | |
| - release/** | |
| - feature/** | |
| - hotfix/** | |
| push: | |
| branches: | |
| - develop | |
| - main | |
| - release/** | |
| - feature/** | |
| - hotfix/** | |
| permissions: {} | |
| concurrency: | |
| group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }} | |
| cancel-in-progress: true | |
| jobs: | |
| call-workflow-zizmor-annotate: | |
| name: Zizmor analysis (advanced security) | |
| # run on the Mira repo only (upstream SimPEG repo has its own workflow for Zizmor) | |
| if: ${{ github.event_name != 'pull_request' && startsWith(github.repository, 'MiraGeoscience/') }} | |
| permissions: | |
| security-events: write | |
| contents: read | |
| actions: read | |
| uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-advanced-security.yml@v2 | |
| call-workflow-zizmor-advanced-security: | |
| name: Zizmor analysis (annotate) | |
| # run on the Mira repo only (upstream SimPEG repo has its own workflow for Zizmor) | |
| if: ${{ github.event_name == 'pull_request' && startsWith(github.repository, 'MiraGeoscience/') }} | |
| permissions: | |
| checks: write | |
| contents: read | |
| actions: read | |
| uses: MiraGeoscience/CI-tools/.github/workflows/reusable-zizmor-annotate.yml@v2 |