Merge pull request #3251 from nest/dependabot/github_actions/github/c… #734
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
on: [push] | |
permissions: | |
contents: read | |
jobs: | |
trigger_externals: | |
if: ${{ github.repository_owner == 'nest' && github.ref_name == 'master' }} | |
name: "Trigger downstream repos" | |
runs-on: ubuntu-latest | |
steps: | |
- name: Harden Runner | |
uses: step-security/harden-runner@17d0e2bd7d51742c71671bd19fa12bdc9d40a3d6 # v2.8.1 | |
with: | |
egress-policy: audit | |
disable-telemetry: true | |
- name: Trigger nest/nest-extension-module CI | |
uses: peter-evans/repository-dispatch@ff45666b9427631e3450c54a1bcbee4d9ff4d7c0 # v3.0.0 | |
with: | |
token: ${{ secrets.NEST_EXTENSION_MODULE_TRIGGER_TOKEN }} | |
repository: 'nest/nest-extension-module' | |
event-type: dispatch-event_nest-update | |
client-payload: '{"ref": "${{ github.ref }}", "sha": "${{ github.sha }}"}' |