From 580279ff30b625b4614e313927ab364c11881f02 Mon Sep 17 00:00:00 2001 From: Mattias Reichel Date: Mon, 26 Aug 2024 07:00:47 +0200 Subject: [PATCH] Use `grails-build` as git user (#104) - Automated git commits should be using the `grails-build` user - Update `actions/checkout` to v4 - Token not necessary for checkout --- .github/workflows/syncVersion.yml | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/.github/workflows/syncVersion.yml b/.github/workflows/syncVersion.yml index 7634702..e2e6e0e 100644 --- a/.github/workflows/syncVersion.yml +++ b/.github/workflows/syncVersion.yml @@ -7,16 +7,14 @@ jobs: sync: runs-on: ubuntu-latest env: - GIT_USER_NAME: puneetbehl - GIT_USER_EMAIL: behlp@unityfoundation.io + GIT_USER_NAME: 'grails-build' + GIT_USER_EMAIL: 'grails-build@users.noreply.github.com' steps: - - name: Checkout repository - uses: actions/checkout@v2 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - name: Sync Latest Version + - name: "📥 Checkout repository" + uses: actions/checkout@v4 + - name: "🔄 Sync Latest Version" uses: ./.github/actions/sync-latest-version - - name: Create Pull Request + - name: "✨ Create Pull Request" uses: peter-evans/create-pull-request@v3 with: token: ${{ secrets.GH_TOKEN }}