From 61289609a692277c6ca4f463209ac710be898a03 Mon Sep 17 00:00:00 2001 From: Peter Lieverdink Date: Tue, 10 May 2022 14:22:50 +1000 Subject: [PATCH] [HOTFIX] Work around https://github.com/peter-evans/create-pull-request/issues/1170 --- .github/workflows/composer-update.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/.github/workflows/composer-update.yml b/.github/workflows/composer-update.yml index 8e801df..a890ba7 100644 --- a/.github/workflows/composer-update.yml +++ b/.github/workflows/composer-update.yml @@ -10,9 +10,13 @@ jobs: container: public.ecr.aws/unocha/php:8.0-stable steps: + - name: Workaround Git Issue + id: workaround + run: git config --global --add safe.directory "$GITHUB_WORKSPACE" + - name: Checkout code id: checkout - uses: actions/checkout@v2 + uses: actions/checkout@v3 with: ref: 'develop' @@ -36,7 +40,7 @@ jobs: - name: Create Pull Request id: pull - uses: peter-evans/create-pull-request@v3 + uses: peter-evans/create-pull-request@v4 with: token: ${{ secrets.PAT }} commit-message: "[UPDATES] Periodic pull request after updating all outdated drupal packages."