Merge Latest Tag from Tip #7
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: "Merge Latest Tag from Tip" | |
on: | |
schedule: | |
- cron: '0 8 * * 4' | |
workflow_dispatch: | |
jobs: | |
merge-from-tip: | |
runs-on: ubuntu-latest | |
name: "Merge latest tag" | |
steps: | |
- name: "Checkout code" | |
uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Reset the default branch with upstream changes | |
run: | | |
git remote add upstream https://github.com/openjdk/jdk.git | |
git fetch upstream master:upstream-master | |
git reset --hard upstream-master | |
- name: Create Pull Request | |
uses: peter-evans/create-pull-request@v5 | |
with: | |
token: ${{ secrets.WORKFLOWS }} | |
branch: upstream-changes |