From 29b9ed69dfbbe111fe2ccc8d43d46a4c5220bfb8 Mon Sep 17 00:00:00 2001 From: Andres Rios Tascon Date: Fri, 7 Jun 2024 09:54:52 -0500 Subject: [PATCH] Added shortcut command to run all workflows --- .github/workflows/static-checks.yml | 4 ++-- .github/workflows/testing.yml | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/.github/workflows/static-checks.yml b/.github/workflows/static-checks.yml index c7e9dd5facf3c..a600a6f17e257 100644 --- a/.github/workflows/static-checks.yml +++ b/.github/workflows/static-checks.yml @@ -5,7 +5,7 @@ on: types: [created] concurrency: - group: ${{ github.workflow }}-${{ github.event.issue.number }} + group: ${{ github.workflow }}-${{ github.event.issue.number }}-${{ contains(github.event.comment.body, '/run checks') || contains(github.event.comment.body, '/run all') }} cancel-in-progress: true permissions: @@ -16,7 +16,7 @@ jobs: linter: if: > github.event.issue.pull_request && - contains(github.event.comment.body, '/run checks') && + (contains(github.event.comment.body, '/run checks') || contains(github.event.comment.body, '/run all')) && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'CONTRIBUTOR') runs-on: ubuntu-latest timeout-minutes: 20 diff --git a/.github/workflows/testing.yml b/.github/workflows/testing.yml index fdebf906812aa..a9941321a62c6 100644 --- a/.github/workflows/testing.yml +++ b/.github/workflows/testing.yml @@ -5,7 +5,7 @@ on: types: [created] concurrency: - group: ${{ github.workflow }}-${{ github.event.issue.number }}-${{ contains(github.event.comment.body, '/run standalone') }}-${{ contains(github.event.comment.body, '/run cmssw') }} + group: ${{ github.workflow }}-${{ github.event.issue.number }}-${{ contains(github.event.comment.body, '/run standalone') || contains(github.event.comment.body, '/run all') }}-${{ contains(github.event.comment.body, '/run cmssw') || contains(github.event.comment.body, '/run all') }} cancel-in-progress: true permissions: @@ -16,7 +16,7 @@ jobs: standalone: if: > github.event.issue.pull_request && - contains(github.event.comment.body, '/run standalone') && + (contains(github.event.comment.body, '/run standalone') || contains(github.event.comment.body, '/run all')) && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'CONTRIBUTOR') runs-on: ubuntu-latest steps: @@ -103,7 +103,7 @@ jobs: cmssw: if: > github.event.issue.pull_request && - contains(github.event.comment.body, '/run cmssw') && + (contains(github.event.comment.body, '/run cmssw')|| contains(github.event.comment.body, '/run all')) && (github.event.comment.author_association == 'MEMBER' || github.event.comment.author_association == 'CONTRIBUTOR') runs-on: ubuntu-latest steps: