Skip to content

Upstream

Upstream #23869

Workflow file for this run

name: Upstream
on:
schedule:
- cron: "*/15 * * * *"
jobs:
upstream:
runs-on: ubuntu-latest
if: "!contains(github.event.commits[0].message, '[ci-skip]')"
steps:
- uses: actions/checkout@v4
- uses: gradle/wrapper-validation-action@v2
- uses: actions/setup-java@v4
with:
distribution: adopt
java-version: 21
- name: Configure Git
run: git config --global user.email "action@github.com" && git config --global user.name "Github Action"
- name: Update upstream
run: |
./scripts/updateUpstream.sh
- name: Push changes
uses: ad-m/github-push-action@master
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref }}