Skip to content

Commit

Permalink
Fix workflow runs on main (#1061)
Browse files Browse the repository at this point in the history
  • Loading branch information
sea212 authored Aug 2, 2023
1 parent b102155 commit 893ab52
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/coverage.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
14 changes: 7 additions & 7 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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:
Expand All @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 893ab52

Please sign in to comment.