fix: github actions documentation is confusing, use action for event_type

This commit is contained in:
Arthur Meyre
2021-09-09 11:56:21 +02:00
parent 6fe809aece
commit a4ddcfe88e
2 changed files with 2 additions and 2 deletions

View File

@@ -106,7 +106,7 @@ jobs:
path: diff-coverage.txt
recreate: true
- name: Trigger docker push workflow
if: ${{ always() && github.event_name == 'repository_dispatch' && github.event.event_type == 'env-docker-preflight' }}
if: ${{ always() && github.event_name == 'repository_dispatch' && github.event.action == 'env-docker-preflight' }}
run: |
curl \
-X POST \

View File

@@ -23,7 +23,7 @@ env:
jobs:
build_preflight_docker:
if: ${{ github.event_name != 'repository_dispatch' || github.event.event_type == 'rebuild-env-docker' }}
if: ${{ github.event_name != 'repository_dispatch' || github.event.action == 'rebuild-env-docker' }}
concurrency:
group: ${{ github.ref }}