chore(deps): update distroless base image (main) #2299
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: PR Feature Check | |
| on: | |
| pull_request: | |
| types: | |
| - opened | |
| - edited | |
| - reopened | |
| - synchronize | |
| permissions: | |
| contents: read | |
| jobs: | |
| feature-pr-handling: | |
| runs-on: ubuntu-24.04 | |
| steps: | |
| - name: Check if feature PR | |
| id: check-type | |
| env: | |
| PR_TITLE: ${{ github.event.pull_request.title }} | |
| run: | | |
| if [[ "$PR_TITLE" =~ ^feat(\(.*\))?!?:\ .+ ]]; then | |
| echo "is_feat=true" >> "$GITHUB_OUTPUT" | |
| fi | |
| - uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0 | |
| if: steps.check-type.outputs.is_feat == 'true' | |
| with: | |
| go-version: "1.26" | |
| cache: true | |
| - name: Checkout | |
| if: steps.check-type.outputs.is_feat == 'true' | |
| uses: actions/checkout@df4cb1c069e1874edd31b4311f1884172cec0e10 # v6.0.3 | |
| with: | |
| fetch-depth: 50 | |
| - name: Ensure ./.features/pending/*.md addition(s) | |
| if: steps.check-type.outputs.is_feat == 'true' | |
| id: changed-files | |
| uses: tj-actions/changed-files@9426d40962ed5378910ee2e21d5f8c6fcbf2dd96 # v47.0.6 | |
| with: | |
| files: | | |
| .features/pending/*.md | |
| - name: No ./.features/*.md addition | |
| if: steps.check-type.outputs.is_feat == 'true' && steps.changed-files.outputs.added_files_count == 0 | |
| run: | | |
| echo "No feature description was added to the ./.features/pending/ directory for this feature PR." | |
| echo "Please add a .md file to the ./.features/pending/ directory." | |
| echo "See docs/running-locally.md for more details." | |
| false | |
| - name: Validate ./.features/*.md changes | |
| if: steps.check-type.outputs.is_feat == 'true' && steps.changed-files.outputs.added_files_count > 0 | |
| run: | | |
| echo "A feature description was added to the ./.features/ directory." | |
| make features-validate \ | |
| || { echo "New ./.features/*.md file failed validation."; exit 1; } |