From c88f79520d1db49c97569ac10747661bbea4f5ad Mon Sep 17 00:00:00 2001 From: pooneyy <85266337+pooneyy@users.noreply.github.com> Date: Thu, 25 Dec 2025 19:19:16 +0800 Subject: [PATCH] =?UTF-8?q?=F0=9F=94=A7=20chore(ci):=20simplify=20renovate?= =?UTF-8?q?=20workflow=20condition?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - remove redundant `github.triggering_actor == 'renovate[bot]'` check - maintain same security logic using only `github.actor == 'renovate[bot]'` --- .github/workflows/renovate-app-version.yml | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/.github/workflows/renovate-app-version.yml b/.github/workflows/renovate-app-version.yml index f6d329540..ad39152f5 100644 --- a/.github/workflows/renovate-app-version.yml +++ b/.github/workflows/renovate-app-version.yml @@ -34,7 +34,6 @@ jobs: needs: get-latest-commit-author if: | github.actor == 'renovate[bot]' && - github.triggering_actor == 'renovate[bot]' && needs.get-latest-commit-author.outputs.latest_commit_author != github.repository_owner && startsWith(github.head_ref, 'renovate/') runs-on: ubuntu-latest @@ -147,8 +146,7 @@ jobs: check-labels: name: Check labels if: | - github.actor == 'renovate[bot]' && - github.triggering_actor == 'renovate[bot]' + github.actor == 'renovate[bot]' runs-on: ubuntu-latest outputs: enable: ${{ steps.check-labels.outputs.enable }}