1
0
Fork 0

🔧 chore(ci): simplify renovate workflow condition

- remove redundant `github.triggering_actor == 'renovate[bot]'` check
- maintain same security logic using only `github.actor == 'renovate[bot]'`
This commit is contained in:
pooneyy 2025-12-25 19:19:16 +08:00
parent e83e074cf4
commit c88f79520d
No known key found for this signature in database
1 changed files with 1 additions and 3 deletions

View File

@ -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 }}