Skip to content

Commit ca7b54e

Browse files
committed
remove not available branches on pull_request_review
1 parent 81a2795 commit ca7b54e

File tree

2 files changed

+0
-5
lines changed

2 files changed

+0
-5
lines changed

nf_core/pipeline-template/.github/workflows/awsfulltest.yml

-3
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,6 @@ on:
77
workflow_dispatch:
88
pull_request_review:
99
types: [submitted]
10-
branches:
11-
- main
12-
- master
1310
release:
1411
types: [published]
1512

nf_core/pipelines/lint/actions_awsfulltest.py

-2
Original file line numberDiff line numberDiff line change
@@ -42,8 +42,6 @@ def actions_awsfulltest(self) -> Dict[str, List[str]]:
4242

4343
# Check that the action is only turned on for published releases
4444
try:
45-
if wf[True]["pull_request_review"]["branches"] != ["main", "master"]:
46-
raise AssertionError()
4745
if wf[True]["pull_request_review"]["types"] != ["submitted"]:
4846
raise AssertionError()
4947
if "workflow_dispatch" not in wf[True]:

0 commit comments

Comments
 (0)