We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3c887c9 commit 286ff1fCopy full SHA for 286ff1f
.github/workflows/changelog.yml
@@ -12,11 +12,10 @@ jobs:
12
runs-on: ubuntu-latest
13
# Run if comment is on a PR with the main repo, and if it contains the magic keywords.
14
# 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
- )
+ if: >
+ contains(github.event.comment.html_url, '/pull/') &&
+ contains(github.event.comment.body, '@nf-core-bot changelog') &&
+ github.repository == 'nf-core/sarek'
20
21
steps:
22
- uses: actions/checkout@0ad4b8fadaa221de15dcec353f45205ec38ea70b # v4
0 commit comments