Skip to content

Commit 286ff1f

Browse files
committed
change trigger
1 parent 3c887c9 commit 286ff1f

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.github/workflows/changelog.yml

+4-5
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,10 @@ jobs:
1212
runs-on: ubuntu-latest
1313
# Run if comment is on a PR with the main repo, and if it contains the magic keywords.
1414
# Or run on PR creation, unless asked otherwise in the title.
15-
if: |
16-
github.repository_owner == 'nf-core' && (
17-
github.event_name == 'pull_request_target' ||
18-
github.event.issue.pull_request && startsWith(github.event.comment.body, '@nf-core-bot changelog')
19-
)
15+
if: >
16+
contains(github.event.comment.html_url, '/pull/') &&
17+
contains(github.event.comment.body, '@nf-core-bot changelog') &&
18+
github.repository == 'nf-core/sarek'
2019
2120
steps:
2221
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4

0 commit comments

Comments
 (0)