Skip to content

🌱 Bump github.com/google/go-containerregistry from 0.21.4 to 0.21.5 #7682

🌱 Bump github.com/google/go-containerregistry from 0.21.4 to 0.21.5

🌱 Bump github.com/google/go-containerregistry from 0.21.4 to 0.21.5 #7682

Workflow file for this run

name: go-apidiff
on:
merge_group:
pull_request:
jobs:
go-apidiff:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v6
with:
fetch-depth: 0
- uses: actions/setup-go@v6
with:
go-version-file: go.mod
- uses: joelanford/go-apidiff@main
id: check-api
continue-on-error: true
- name: Check for override label
if: ${{ steps.check-api.outcome == 'failure' }}
run: |
if gh api repos/$OWNER/$REPO/pulls/$PR --jq '.labels.[].name' | grep -q "${OVERRIDE_LABEL}"; then
echo "Found ${OVERRIDE_LABEL} label, overriding failed results."
exit 0
else
echo "No ${OVERRIDE_LABEL} label found, failing the job."
exit 1
fi
env:
GH_TOKEN: ${{ github.token }}
OWNER: ${{ github.repository_owner }}
REPO: ${{ github.event.repository.name }}
PR: ${{ github.event.pull_request.number }}
OVERRIDE_LABEL: "go-apidiff-override"