From 893ab525189d6e8c6c2bae4b4cd9d3997c213ba9 Mon Sep 17 00:00:00 2001 From: Harald Heckmann Date: Wed, 2 Aug 2023 12:23:21 +0200 Subject: [PATCH] Fix workflow runs on main (#1061) --- .github/workflows/coverage.yml | 2 +- .github/workflows/rust.yml | 14 +++++++------- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/.github/workflows/coverage.yml b/.github/workflows/coverage.yml index f962133b2..ac666c4c8 100644 --- a/.github/workflows/coverage.yml +++ b/.github/workflows/coverage.yml @@ -12,7 +12,7 @@ env: jobs: coverage: name: Coverage - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository diff --git a/.github/workflows/rust.yml b/.github/workflows/rust.yml index 5e6f0bdea..5cc593881 100644 --- a/.github/workflows/rust.yml +++ b/.github/workflows/rust.yml @@ -12,7 +12,7 @@ env: jobs: format: name: Format - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository @@ -33,7 +33,7 @@ jobs: copyright: name: Copyright Notices - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository @@ -54,7 +54,7 @@ jobs: checks: name: Checks - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest strategy: matrix: @@ -78,7 +78,7 @@ jobs: benchmark: name: Quick check benchmarks - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository @@ -91,7 +91,7 @@ jobs: test_standalone: name: Test standalone build - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository @@ -122,7 +122,7 @@ jobs: test_parachain: name: Test parachain build - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository @@ -153,7 +153,7 @@ jobs: fuzz: name: Fuzz - if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed')) + if: (github.event_name == 'pull_request' && contains(github.event.pull_request.labels.*.name, 's:review-needed') || github.event_name == 'push') runs-on: ubuntu-latest steps: - name: Checkout repository