Mirror Releases #17
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:50 UTC | |
schedule: | |
- cron: "50 6 * * *" | |
jobs: | |
mirror: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- run: | | |
./scripts/mirror_releases.sh | |
npx @bazel/buildifier swc/private/versions.bzl | |
bazel run docs:update | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
commit-message: "chore: mirror external releases" |