Mirror develop to westpa2 #1
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 develop to westpa2 | |
on: | |
schedule: | |
# Once a month on the 28th day at 4 pm UTC, which is ~11 am EST. | |
- cron: "00 16 28 * *" | |
jobs: | |
mirror-develop-to-westpa2: | |
runs-on: ubuntu-latest | |
name: Mirror develop branch to westpa2 branch | |
steps: | |
- uses: actions/checkout@v4 | |
with: | |
fetch-depth: 0 | |
- name: mirroring step | |
run: | | |
git checkout westpa2 | |
git pull --ff-only origin develop | |
git push origin westpa2 | |
env: | |
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} |