Do not shadow err within MSSQL test container intialization #3751
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
--- | |
name: Backport Assistant Runner (for OSS & ENT) | |
on: | |
pull_request_target: | |
types: | |
- closed | |
- labeled | |
repository_dispatch: | |
types: [ent-backport] | |
jobs: | |
backport-targeted-release-branch: | |
if: github.event.pull_request.merged && github.repository == 'hashicorp/vault' | |
runs-on: ubuntu-latest | |
container: hashicorpdev/backport-assistant:0.4.3 | |
steps: | |
- name: Backport changes to targeted release branch | |
run: | | |
backport-assistant backport -merge-method=squash -gh-automerge | |
env: | |
BACKPORT_LABEL_REGEXP: "backport/(?P<target>\\d+\\.\\d+\\.[+\\w]+)" | |
BACKPORT_TARGET_TEMPLATE: "release/{{.target}}" | |
BACKPORT_MERGE_COMMIT: true | |
GITHUB_TOKEN: ${{ secrets.ELEVATED_GITHUB_TOKEN }} | |
ENABLE_VERSION_MANIFESTS: true | |
backport-ent: | |
if: github.event.pull_request.merged && contains(join(github.event.pull_request.labels.*.name), 'backport/ent') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger backport for Enterprise | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0 | |
with: | |
token: ${{ secrets.ELEVATED_GITHUB_TOKEN }} | |
repository: hashicorp/vault-enterprise | |
event-type: ent-backport | |
client-payload: ${{ toJson(github.event) }} |