chore(ci): Add downstream merge trigger to github action (#3014)

This commit is contained in:
Timothy Messier authored and GitHub committed 2023-02-24 08:36:47 -05:00
1 parent 18b0bcb395
commit 39e1cd7dcf
2 files changed
+63

No files matched your search

@@ -0,0 +1,24 @@
name: trigger-merge-to-downstream
on:
push:
branches:
- main
- release/**
permssions:
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@v3
- name: Trigger Merge
run: |
./scripts/trigger-merge-to-downstream-gha ${{ github.ref_name }}