sync-awf-latest #5687
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-awf-latest | |
on: | |
schedule: | |
- cron: 50 */1 * * * # every 1 hour (**:50) | |
workflow_dispatch: | |
jobs: | |
sync-awf-latest: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
with: | |
token: ${{ secrets.TOKEN_TO_MODIFY_WOKFLOW }} | |
fetch-depth: 0 | |
- name: Commit Results | |
run: | | |
git config --local user.email "[email protected]" | |
git config --local user.name "GitHub Action" | |
git checkout awf-latest | |
git remote add awf https://github.com/autowarefoundation/autoware.universe | |
git fetch awf main | |
git rebase awf/main | |
git push origin awf-latest --force |