Update docker-slim.yml (#2449)
Fixed a bug that causes docker-slim action to run and fail on forked repositories. #2103
This commit is contained in:
parent
c7265a9bcb
commit
da4486507a
|
|
@ -15,7 +15,7 @@ on:
|
|||
jobs:
|
||||
build:
|
||||
# https://docs.github.com/en/actions/using-workflows/events-that-trigger-workflows#running-a-workflow-based-on-the-conclusion-of-another-workflow
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' }} and github.repository_owner == 'alshedivat'
|
||||
if: ${{ github.event.workflow_run.conclusion == 'success' and github.repository_owner == 'alshedivat' }}
|
||||
runs-on: ubuntu-latest
|
||||
defaults:
|
||||
run:
|
||||
|
|
|
|||
Loading…
Reference in New Issue