Publish aspect-build/rules_lint@v0.2.1 (#1014) #619
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@v2 | |
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 }}"}' |