Run Renovate validation on isolated containers and retain trusted human CI [skip ci]
This commit is contained in:
parent
f0832e8f17
commit
723a29c04a
1 changed files with 17 additions and 7 deletions
|
|
@ -8,13 +8,17 @@ on:
|
|||
|
||||
jobs:
|
||||
shellcheck:
|
||||
runs-on: docker
|
||||
runs-on: ${{ (github.actor == 'renovate-bot' || github.event.pull_request.user.login == 'renovate-bot' || startsWith(github.ref, 'refs/heads/renovate/') || startsWith(github.head_ref,
|
||||
'renovate/')) && 'renovate' || 'docker' }}
|
||||
steps:
|
||||
- uses: https://code.forgejo.org/actions/checkout@11d5960a326750d5838078e36cf38b85af677262
|
||||
|
||||
with:
|
||||
persist-credentials: false
|
||||
- name: Install ShellCheck
|
||||
run: apt-get update && apt-get install -y shellcheck
|
||||
|
||||
- name: Run ShellCheck
|
||||
run: find ./src -name '*.sh' -exec shellcheck {} +
|
||||
if: ${{ github.actor != 'renovate-bot' && !startsWith(github.ref, 'refs/heads/renovate/') && !startsWith(github.head_ref, 'renovate/') }}
|
||||
if: ${{ contains(fromJSON('["andras","ruby336688","renovate-bot"]'), github.actor) && (!github.event.pull_request || contains(fromJSON('["andras","ruby336688","renovate-bot"]'),
|
||||
github.event.pull_request.user.login)) }}
|
||||
|
|
|
|||
Loading…
Reference in a new issue