From f6ef969f9b5491ebe91862daee957eda0be2f3f3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=99=B3=E9=88=9E?= Date: Sun, 7 Apr 2024 12:51:48 +0800 Subject: [PATCH] chore: update version and parameters of Github workflow actions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Upgrade `hmarr/auto-approve-action` from version `v3` to `v4` in the `auto_merge.yml` Github workflow - Upgrade `buildsville/add-remove-label` from `v1` to `v2.0.1` and change parameter from `label` to `labels` in the `auto_merge.yml` Github workflow - Upgrade `actions/checkout` from `v3` to `v4` in the `submodule_update.yml` Github workflow Signed-off-by: 陳鈞 --- .github/workflows/auto_merge.yml | 6 +++--- .github/workflows/submodule_update.yml | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/auto_merge.yml b/.github/workflows/auto_merge.yml index a8aa181..67fa664 100644 --- a/.github/workflows/auto_merge.yml +++ b/.github/workflows/auto_merge.yml @@ -9,7 +9,7 @@ jobs: if: github.actor == 'jim60105' && github.repository == 'jim60105/docker-stable-diffusion-webui' steps: - name: Auto approve - uses: hmarr/auto-approve-action@v3 + uses: hmarr/auto-approve-action@v4 with: github-token: "${{ secrets.GITHUB_TOKEN }}" @@ -29,8 +29,8 @@ jobs: - name: Remove label if: ${{ success() }} - uses: buildsville/add-remove-label@v1 + uses: buildsville/add-remove-label@v2.0.1 with: token: ${{secrets.GITHUB_TOKEN}} - label: "automerge" + labels: automerge type: remove diff --git a/.github/workflows/submodule_update.yml b/.github/workflows/submodule_update.yml index 4d7d0df..7fd77ee 100644 --- a/.github/workflows/submodule_update.yml +++ b/.github/workflows/submodule_update.yml @@ -17,7 +17,7 @@ jobs: steps: - name: Checkout Code - uses: actions/checkout@v3 + uses: actions/checkout@v4 - name: Update Submodules uses: releasehub-com/github-action-create-pr-parent-submodule@v1