feat(ci): add RunnerContext and RegressionError for experiment GH action #44
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: Check GitHub Actions | |
| on: | |
| workflow_dispatch: | |
| push: | |
| branches: | |
| - "main" | |
| merge_group: | |
| pull_request: | |
| branches: | |
| - "main" | |
| permissions: {} | |
| jobs: | |
| zizmor: | |
| name: Check GitHub Actions security | |
| if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == github.repository | |
| runs-on: ubuntu-latest | |
| permissions: | |
| contents: read | |
| steps: | |
| - name: Checkout | |
| uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6 | |
| with: | |
| persist-credentials: false | |
| - name: Run zizmor | |
| uses: zizmorcore/zizmor-action@b1d7e1fb5de872772f31590499237e7cce841e8e # v0.5.3 | |
| with: | |
| # Using false as a code scanning ruleset would block the release | |
| # workflow which creates a new commit and pushes directly to main. | |
| advanced-security: false | |
| min-severity: medium |