Skip to content

Merge Latest Tag from Tip #7

Merge Latest Tag from Tip

Merge Latest Tag from Tip #7

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