Skip to content

ci: add plumber workflow security check #1

ci: add plumber workflow security check

ci: add plumber workflow security check #1

Workflow file for this run

name: Plumber
on:
push:
branches: [v3]
pull_request:
permissions:
contents: read
jobs:
plumber:
runs-on: ubuntu-latest
timeout-minutes: 10
permissions:
contents: read
security-events: write
# Needed by score-push to publish the score for the README badge.
id-token: write
steps:
- uses: actions/checkout@11d5960a326750d5838078e36cf38b85af677262 # v4.4.0
- uses: getplumber/plumber@7ad9d267ee5a00163cec9e5c749a088d5f565167 # v0.4.26
with:
# Code scanning upload needs security-events write, which PRs
# from forks do not get. The report stays available as a
# workflow artifact there.
upload-sarif: ${{ github.event.pull_request.head.repo.fork != true }}
# Publishes the score to score.getplumber.io, which feeds the
# badge in the README. A failed push never fails the run.
score-push: true