build(deps): bump axios and @pyroscope/nodejs in /examples/nodejs #1
Workflow file for this run
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: zizmor GitHub Actions static analysis | |
on: | |
push: | |
paths: | |
- ".github/**" | |
pull_request: | |
paths: | |
- ".github/**" | |
jobs: | |
zizmor-check: | |
name: Check whether there are things to scan | |
permissions: | |
contents: read | |
runs-on: ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }} | |
outputs: | |
found-files: ${{ steps.zizmor-check.outputs.found-files }} | |
steps: | |
- name: Checkout | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4 | |
- name: Run zizmor | |
id: zizmor-check | |
shell: bash | |
run: | | |
FOUND_FILES=false | |
SEARCH=$(find . -path "**/.github/workflows/*.yml" -o -path "**/.github/workflows/*.yaml" -o -path "**/action.yml" -o -path "**/action.yaml") | |
if [ -n "$SEARCH" ]; then | |
FOUND_FILES=true | |
fi | |
echo "found-files=${FOUND_FILES}" >> $GITHUB_OUTPUT | |
zizmor: | |
name: Run zizmor from current branch (self test) | |
permissions: | |
actions: read | |
contents: read | |
pull-requests: write | |
security-events: write | |
needs: | |
- zizmor-check | |
if: ${{ needs.zizmor-check.outputs.found-files == 'true' }} | |
uses: grafana/shared-workflows/.github/workflows/reusable-zizmor.yml@b502a15952bab7f72daa1f8ce115491a6d97be59 | |
with: | |
runs-on: ${{ !github.event.repository.private && 'ubuntu-latest' || 'ubuntu-arm64-small' }} | |
fail-severity: never | |
min-severity: high | |
min-confidence: low |