mirror of
https://github.com/freqtrade/freqtrade.git
synced 2026-03-04 04:43:33 +00:00
35 lines
1013 B
YAML
35 lines
1013 B
YAML
name: GitHub Actions Security Analysis with zizmor 🌈
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- develop
|
|
- stable
|
|
pull_request:
|
|
branches:
|
|
- develop
|
|
- stable
|
|
|
|
concurrency:
|
|
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
|
|
cancel-in-progress: false
|
|
|
|
permissions: {}
|
|
|
|
jobs:
|
|
zizmor:
|
|
name: Run zizmor 🌈
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
security-events: write # Required for upload-sarif (used by zizmor-action) to upload SARIF files.
|
|
# contents: read # Only needed for private repos. Needed to clone the repo.
|
|
# actions: read # Only needed for private repos. Needed for upload-sarif to read workflow run info.
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
|
|
with:
|
|
persist-credentials: false
|
|
|
|
- name: Run zizmor 🌈
|
|
uses: zizmorcore/zizmor-action@135698455da5c3b3e55f73f4419e481ab68cdd95 # v0.4.1
|