Merge pull request #3266 from nest/dependabot/github_actions/ossf/sco… #768
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@0d381219ddf674d61a7572ddd19d7941e271515c # v2.9.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 }}"}' |