Backport of [NET-11043] crd: support request normalization and header match options to prevent L7 intentions bypass into release/1.4.x #5956
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
# Copyright (c) HashiCorp, Inc. | |
--- | |
name: Backport Assistant Runner | |
on: | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
jobs: | |
backport: | |
if: github.event.pull_request.merged | |
runs-on: ubuntu-latest | |
container: hashicorpdev/backport-assistant:0.3.5 | |
steps: | |
- name: Run Backport Assistant | |
run: backport-assistant backport -merge-method=squash -gh-automerge | |
env: | |
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+\\.x)" | |
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}" | |
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }} |