Update tested branch #645
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: Update tested branch | |
on: | |
workflow_dispatch: | |
schedule: | |
# run at 06:59 UTC each day | |
- cron: '59 6 * * *' | |
jobs: | |
updateBranch: | |
runs-on: ubuntu-latest | |
name: Update tested | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
ref: 'tested' | |
fetch-depth: 0 | |
- run: pwd | |
- uses: samuelgruetter/check-ci-success@master | |
with: | |
repo_owner: 'mit-plv' | |
repo_name: 'bedrock2' | |
branch_name: 'master' | |
check_name: 'build (master)' | |
github_token: ${{ secrets.GITHUB_TOKEN }} | |
- run: echo "This step runs after the python script" | |
- run: git fetch origin master | |
- run: git log --oneline --max-count=10 | |
- run: git merge --ff-only remotes/origin/master | |
- run: git log --oneline --max-count=10 | |
- run: git push |