Files
threshold/.github/workflows/trigger-merge-to-downstream.yml
T
cc94accc4f SEC-090: Automated trusted workflow pinning (2023-04-27) (#3187)
* Result of tsccr-helper -pin-all-workflows .

* chore: Disable cache from setup-go

---------

Co-authored-by: hashicorp-tsccr[bot] <hashicorp-tsccr[bot]@users.noreply.github.com>
Co-authored-by: Michael Li <michael.li@hashicorp.com>
2023-05-02 16:37:11 -04:00

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@8e5e7e5ab8b370d6c329ec480221332ada57f0ab # v3.5.2
- name: Trigger Merge
run: |
./scripts/trigger-merge-to-downstream-gha ${{ github.ref_name }}