🔧 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:
parent
e83e074cf4
commit
c88f79520d
|
|
@ -34,7 +34,6 @@ jobs:
|
||||||
needs: get-latest-commit-author
|
needs: get-latest-commit-author
|
||||||
if: |
|
if: |
|
||||||
github.actor == 'renovate[bot]' &&
|
github.actor == 'renovate[bot]' &&
|
||||||
github.triggering_actor == 'renovate[bot]' &&
|
|
||||||
needs.get-latest-commit-author.outputs.latest_commit_author != github.repository_owner &&
|
needs.get-latest-commit-author.outputs.latest_commit_author != github.repository_owner &&
|
||||||
startsWith(github.head_ref, 'renovate/')
|
startsWith(github.head_ref, 'renovate/')
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
@ -147,8 +146,7 @@ jobs:
|
||||||
check-labels:
|
check-labels:
|
||||||
name: Check labels
|
name: Check labels
|
||||||
if: |
|
if: |
|
||||||
github.actor == 'renovate[bot]' &&
|
github.actor == 'renovate[bot]'
|
||||||
github.triggering_actor == 'renovate[bot]'
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
outputs:
|
outputs:
|
||||||
enable: ${{ steps.check-labels.outputs.enable }}
|
enable: ${{ steps.check-labels.outputs.enable }}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue