Merge pull request #3187 from heplesser/fix-3155 #696
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@63c24ba6bd7ba022e95695ff85de572c04a18142 # v2.7.0 | |
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 }}"}' |