rules_shell@0.3.0 (#3120) #2231
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: | |
branches: | |
- main | |
jobs: | |
trigger_build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger build of BCR UI | |
uses: peter-evans/repository-dispatch@v3 | |
with: | |
repository: bazel-contrib/bcr-ui | |
# Fine-grained PAT (https://github.com/settings/personal-access-tokens/new), which needs | |
# to be exchanged once a year. | |
# Scoped to the `bazel-contrib/bcr-ui` repository. | |
# Requires "Read and write" permissions for "Contents" to be able to do the workflow dispatch. | |
token: ${{ secrets.BCR_UI_REPO_ACCESS_TOKEN }} | |
event-type: on-bcr-trigger | |
client-payload: '{"bcrCommitHash": "${{ github.sha }}"}' |