From a4ddcfe88ed120504004976b5acf37b1679bcc32 Mon Sep 17 00:00:00 2001 From: Arthur Meyre Date: Thu, 9 Sep 2021 11:56:21 +0200 Subject: [PATCH] fix: github actions documentation is confusing, use action for event_type --- .github/workflows/continuous-integration.yaml | 2 +- .github/workflows/docker-env.yaml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/.github/workflows/continuous-integration.yaml b/.github/workflows/continuous-integration.yaml index 6d6d55ee1..947fb282a 100644 --- a/.github/workflows/continuous-integration.yaml +++ b/.github/workflows/continuous-integration.yaml @@ -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 \ diff --git a/.github/workflows/docker-env.yaml b/.github/workflows/docker-env.yaml index 7632a18c1..e1f0ab2e7 100644 --- a/.github/workflows/docker-env.yaml +++ b/.github/workflows/docker-env.yaml @@ -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 }}