Skip to content

Commit

Permalink
Added explicit list of users who can run CI
Browse files Browse the repository at this point in the history
  • Loading branch information
ariostas authored Jun 13, 2024
1 parent 29b9ed6 commit 23f2e52
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 3 deletions.
8 changes: 7 additions & 1 deletion .github/workflows/static-checks.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
if: >
github.event.issue.pull_request &&
(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')
( github.event.comment.user.login == 'ariostas' ||
github.event.comment.user.login == 'GNiendorf' ||
github.event.comment.user.login == 'YonsiG' ||
github.event.comment.user.login == 'VourMa' ||
github.event.comment.user.login == 'slava77devel' ||
github.event.comment.user.login == 'slava77'
)
runs-on: ubuntu-latest
timeout-minutes: 20
steps:
Expand Down
16 changes: 14 additions & 2 deletions .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,13 @@ jobs:
if: >
github.event.issue.pull_request &&
(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')
( github.event.comment.user.login == 'ariostas' ||
github.event.comment.user.login == 'GNiendorf' ||
github.event.comment.user.login == 'YonsiG' ||
github.event.comment.user.login == 'VourMa' ||
github.event.comment.user.login == 'slava77devel' ||
github.event.comment.user.login == 'slava77'
)
runs-on: ubuntu-latest
steps:
- name: Check out PR
Expand Down Expand Up @@ -104,7 +110,13 @@ jobs:
if: >
github.event.issue.pull_request &&
(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')
( github.event.comment.user.login == 'ariostas' ||
github.event.comment.user.login == 'GNiendorf' ||
github.event.comment.user.login == 'YonsiG' ||
github.event.comment.user.login == 'VourMa' ||
github.event.comment.user.login == 'slava77devel' ||
github.event.comment.user.login == 'slava77'
)
runs-on: ubuntu-latest
steps:
- name: Checkout PR
Expand Down

0 comments on commit 23f2e52

Please sign in to comment.