Sync Fork with Main #3032
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: Sync Fork with Main | |
on: | |
schedule: | |
- cron: '30 2 * * *' | |
workflow_dispatch: # on button click | |
jobs: | |
sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Fetch upstream changes to main | |
run: DEBUG=api gh repo sync CLIP-HPC/easybuild-easyconfigs -b main | |
env: | |
GITHUB_TOKEN: ${{ secrets.EB_SYNC_UPSTEAM_CONFIGS_PAT }} | |
- name: Fetch upstream changes to develop | |
run: DEBUG=api gh repo sync CLIP-HPC/easybuild-easyconfigs -b develop | |
env: | |
GITHUB_TOKEN: ${{ secrets.EB_SYNC_UPSTEAM_CONFIGS_PAT }} |