Mirror Releases #155
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
name: Mirror Releases | |
on: | |
# Trigger manually in the UI | |
workflow_dispatch: | |
# Trigger daily at 06:10 UTC | |
# Note, the create-pull-request action only sends a PR if there's a code change, | |
# so a no-op execution of the mirror_protoc_releases script on most days will | |
# not create a pull request. | |
schedule: | |
- cron: "10 6 * * *" | |
jobs: | |
mirror: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
./protoc/private/mirror_protoc_release.sh | |
npx @bazel/buildifier protoc/private/versions.bzl | |
- uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: "chore: mirror protoc release" |