chore(deps): update gcr.io/distroless/base:nonroot docker digest to 350980e #2071
Workflow file for this run
This file contains 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: References pre submits | |
on: | |
pull_request: | |
types: [opened, edited, reopened, synchronize] | |
permissions: read-all | |
jobs: | |
check-docs: | |
runs-on: ubuntu-latest | |
if: ${{ contains(github.event.pull_request.body, '#label:release') }} | |
env: | |
BODY: ${{ github.event.pull_request.body }} | |
steps: | |
- uses: actions/checkout@692973e3d937129bcbf40652eb9f2f61becf3332 # v4.1.7 | |
- name: Check documentation is up-to-date | |
run: | | |
RELEASE_TAG=$(: | |
echo "$BODY" | | |
grep -oE '^[[:blank:]]*#label:release[[:blank:]]+v?[0-9]+\.[0-9]+\.[0-9]+' | | |
sed -E 's/.*([0-9]+\.[0-9]+\.[0-9])/\1/' | |
) | |
if [[ -z "$RELEASE_TAG" ]]; then | |
echo 'Invalid release PR body. Must include `#label:release vX.Y.Z`' | |
exit 1 | |
fi | |
RELEASE_TAG="${RELEASE_TAG}" ./.github/workflows/scripts/pre-release/references.sh |