From 79abf68560f4603821f1a0dfc823d73ca043521e Mon Sep 17 00:00:00 2001 From: nikolamilosa Date: Wed, 17 Jul 2024 14:17:48 +0200 Subject: [PATCH] trying different auto update --- .github/workflows/pull-request-update.yaml | 21 ++++++++++----------- 1 file changed, 10 insertions(+), 11 deletions(-) diff --git a/.github/workflows/pull-request-update.yaml b/.github/workflows/pull-request-update.yaml index 3882901c1..18f57a5ff 100644 --- a/.github/workflows/pull-request-update.yaml +++ b/.github/workflows/pull-request-update.yaml @@ -1,18 +1,17 @@ -name: Pull request update - +name: Auto update PR's on: push: branches: - main - jobs: autoupdate: - runs-on: ubuntu-latest + name: autoupdate + runs-on: ubuntu-22.04 steps: - - uses: actions/checkout@v4 - - name: Update all pull requests - uses: castastrophe/actions-pr-auto-update@v1.1.0 - with: - # defaults to github.token - token: ${{ secrets.GIX_CREATE_PR_PAT }} - include_drafts: true + - uses: chinthakagodawita/autoupdate@v1.7.0 + env: + GITHUB_TOKEN: "${{ secrets.GIX_CREATE_PR_PAT }}" + MERGE_MSG: "Branch was auto-updated." + RETRY_COUNT: "5" + RETRY_SLEEP: "1000" + MERGE_CONFLICT_ACTION: "ignore"