Skip to content

Add support for External Authentication for HTTPRoutes #9793

Add support for External Authentication for HTTPRoutes

Add support for External Authentication for HTTPRoutes #9793

name: Run build for renovate PRs
on:
pull_request:
types: [opened, synchronize]
permissions:
contents: read
defaults:
run:
shell: bash
concurrency:
group: ${{ github.ref_name }}-renovate
cancel-in-progress: true
jobs:
check:
name: Check for changes
runs-on: ubuntu-24.04
outputs:
generate: ${{ steps.filter.outputs.generate }}
permissions:
pull-requests: read
if: ${{ github.actor == 'renovate[bot]' }}
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
- name: Check for changes
uses: dorny/paths-filter@fbd0ab8f3e69293af611ebaee6363fc25e6d187d # v4.0.1
id: filter
with:
filters: |
generate:
- go.mod
- go.sum
- Makefile
build:
name: Build for renovate PRs
runs-on: ubuntu-24.04
needs: check
permissions:
contents: write
if: ${{ needs.check.outputs.generate == 'true' }}
steps:
- name: Checkout repository
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
ref: ${{ github.head_ref }}
token: ${{ secrets.NGINX_PAT }}
- name: Setup Golang Environment
uses: actions/setup-go@4a3601121dd01d1626a1e23e37211e3254c1c06c # v6.4.0
with:
go-version: stable
cache-dependency-path: |
go.sum
tests/go.sum
# go mod tidy can be removed once https://github.com/renovatebot/renovate/issues/12999 is implemented
- name: Update files for renovate
run: |
make generate-all
cd tests && go mod tidy && go mod verify
- name: Commit changes
id: commit
uses: stefanzweifel/git-auto-commit-action@04702edda442b2e678b25b537cec683a1493fcb9 # v7.1.0
with:
commit_message: "Update files for renovate"
commit_author: "renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>"