Pull WebKit Git local repo #487
This file contains hidden or 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: Pull WebKit Git local repo | |
| on: | |
| schedule: | |
| - cron: "0 0 * * *" | |
| workflow_dispatch: | |
| jobs: | |
| update-git-webkit: | |
| runs-on: [self-hosted, builder] | |
| strategy: | |
| matrix: | |
| runner: [builder, wk-contrib-gh-actions] | |
| steps: | |
| - name: Update local Git repo | |
| run: | | |
| cd ~/git/WebKit | |
| find .git/ -type f -name "*.lock" -exec rm -f {} + | |
| git reset --hard && git clean -fd && git fetch --all | |
| git checkout webkitglib/2.52 | |
| git pull | |
| git checkout main | |
| git pull | |
| echo "::notice:: $(git log --pretty=format:'%H %s' -1)" |