Add Zizmor workflow and make initial updates
Before adoption: this commit came in with the history the project adopted, so no landing records it.
authored by Nate Prewitt · committed by Ian Stapleton Cordasco · parent 6360477 · Browse files · 6 files·+40 added−2 removed
This commit
State
Before adoption: this commit came in with the history the project adopted, so no landing records it.
Diff stats
6 files+40 added−2 removed
- other:+40 added−2 removed
Provenance
- Commit
cbce031- Tree
cb48fc2- Author
Nate Prewitt <nate.prewitt@gmail.com>- Committer
Ian Stapleton Cordasco <graffatcolmingov@gmail.com>- Parent
6360477
6 files changed+40 added−2 removed
modified:.github/workflows/close-issues.yml+5 added-2 removed
3 unmodified lines4567898910111213141516174 unmodified lines222324252627282930317 unmodified lines3 unmodified lines issues: types: - labeled
permissions: issues: writepermissions: {}
jobs: close_qa: permissions: issues: write if: github.event.label.name == 'actions/autoclose-qa' runs-on: ubuntu-latest steps: - env:4 unmodified lines --comment "As described in the template, we won't be able to answer questions on this issue tracker. Please use [Stack Overflow](https://stackoverflow.com/)" \ --reason completed gh issue lock $ISSUE_URL --reason off_topic close_feature_request: permissions: issues: write if: github.event.label.name == 'actions/autoclose-feat' runs-on: ubuntu-latest steps: - env:7 unmodified linesmodified:.github/workflows/codeql-analysis.yml+1 added
35 unmodified lines36373839404142434430 unmodified lines35 unmodified lines with: # We must fetch at least the immediate parents so that if this is # a pull request then we can checkout the head. fetch-depth: 2 persist-credentials: false
# If this run was triggered by a pull request event, then checkout # the head of the pull request instead of the merge commit. - run: git checkout HEAD^230 unmodified linesmodified:.github/workflows/lint.yml+2 added
10 unmodified lines111213141516171819202 unmodified lines10 unmodified lines timeout-minutes: 10
steps: - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false - name: Set up Python uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.0 with: python-version: "3.x"2 unmodified linesmodified:.github/workflows/run-tests.yml+6 added
20 unmodified lines21 - { python-version: "pypy-3.11", os: "windows-latest" }22 23 steps:24 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.225+ with:26+ persist-credentials: false27 - name: Set up Python ${{ matrix.python-version }}28 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d02405 # v6.2.029 with:30 python-version: ${{ matrix.python-version }}15 unmodified lines46 fail-fast: true47 48 steps:49 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd50+ with:51+ persist-credentials: false52 - name: 'Set up Python 3.10'53 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d0240554 with:55 python-version: '3.10'12 unmodified lines68 fail-fast: true69 70 steps:71 - uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd72+ with:73+ persist-credentials: false74 - name: 'Set up Python 3.10'75 uses: actions/setup-python@a309ff8b426b58ec0e2a45f0f869d46889d0240576 with:77 python-version: '3.10'7 unmodified linesadded:.github/workflows/zizmor.yml+24 added
123456789101112131415161718192021222324# Sourced from https://github.com/zizmorcore/zizmor-actionname: GitHub Actions Security Analysis with zizmor 🌈
on: push: branches: ["main"] pull_request: branches: ["**"]
permissions: {}
jobs: zizmor: runs-on: ubuntu-latest permissions: security-events: write steps: - name: Checkout repository uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2 with: persist-credentials: false
- name: Run zizmor 🌈 uses: zizmorcore/zizmor-action@71321a20a9ded102f6e9ce5718a2fcec2c4f70d8 # v0.5.2modified:.github/dependabot.yml+2 added
7 unmodified lines89101112137 unmodified lines # Ignore all patch releases as we can manually # upgrade if we run into a bug and need a fix. - dependency-name: "*" update-types: ["version-update:semver-patch"] cooldown: default-days: 7