Backport of Add refreshes and retries to server-acl-init job (#3137) to release/1.2.x #3615
Workflow file for this run
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: pr | |
on: | |
pull_request: | |
# these should be the only settings that you will ever need to change | |
env: | |
BRANCH: ${{ github.head_ref || github.ref_name }} | |
CONTEXT: "pr" | |
SHA: ${{ github.event.pull_request.head.sha || github.sha }} | |
jobs: | |
test: | |
name: test | |
runs-on: ubuntu-latest | |
steps: | |
- uses: benc-uk/workflow-dispatch@798e70c97009500150087d30d9f11c5444830385 # v1.2.2 | |
name: test | |
with: | |
workflow: test.yml | |
repo: hashicorp/consul-k8s-workflows | |
ref: main | |
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} | |
inputs: '{ "context":"${{ env.CONTEXT }}", "repository":"${{ github.repository }}", "branch":"${{ env.BRANCH }}", "sha":"${{ env.SHA }}", "token":"${{ secrets.ELEVATED_GITHUB_TOKEN }}" }' |