Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
25 lines
621 B
YAML
25 lines
621 B
YAML
name: trigger-merge-to-downstream
|
|
|
|
on:
|
|
push:
|
|
branches:
|
|
- main
|
|
- release/**
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
trigger-merge:
|
|
if: github.repository == 'hashicorp/boundary'
|
|
runs-on: ${{ fromJSON(vars.RUNNER) }}
|
|
env:
|
|
DOWNSTREAM_SLUG: ${{ vars.DOWNSTREAM_SLUG }}
|
|
DOWNSTREAM_TOK: ${{ secrets.DOWNSTREAM_TOK }}
|
|
DOWNSTREAM_WORKFLOW: ${{ vars.DOWNSTREAM_WORKFLOW }}
|
|
steps:
|
|
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4.1.4
|
|
- name: Trigger Merge
|
|
run: |
|
|
./scripts/trigger-merge-to-downstream-gha ${{ github.ref_name }}
|