Backport of Fix duplicate key in connect-inject ACL policy into relea… #1791
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
# Dispatch to the consul-k8s-workflows when a PR is created and on merges to main/release* | |
name: merge | |
on: | |
push: | |
# Sequence of patterns matched against refs/heads | |
branches: | |
# Push events on main branch | |
- main | |
# Push events to branches matching refs/heads/release/** | |
- "release/**" | |
# these should be the only settings that you will ever need to change | |
env: | |
BRANCH: ${{ github.head_ref || github.ref_name }} | |
CONTEXT: "merge" | |
SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: benc-uk/workflow-dispatch@25b02cc069be46d637e8fe2f1e8484008e9e9609 # v1.2.3 | |
name: test | |
with: | |
workflow: test.yml | |
repo: hashicorp/consul-k8s-workflows | |
ref: main | |
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} | |
inputs: '{ "context":"${{ env.CONTEXT }}", "actor":"${{ github.actor }}", "repository":"${{ github.repository }}", "branch":"${{ env.BRANCH }}", "sha":"${{ env.SHA }}", "token":"${{ secrets.ELEVATED_GITHUB_TOKEN }}" }' |