Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

!test Comment Command #137

Merged
merged 3 commits into from
Oct 17, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 11 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,8 @@ on:
- config/**
- .*
- '*.md'
# For config-pr-2-confirm.yml
- README.md
CodeGat marked this conversation as resolved.
Show resolved Hide resolved
# For config-pr-2-confirm.yml and '!test' comment commands
issue_comment:
types:
- created
Expand Down Expand Up @@ -51,6 +52,15 @@ jobs:
contents: write # For updating metadata.yaml version and committing checksums
pull-requests: write # For commenting on PR

pr-comment-test:
name: !test
if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!test')
uses: access-nri/model-config-tests/.github/workflows/config-comment-test.yml@main
secrets: inherit
permissions:
contents: write # for committing the result of the repro test
pull-requests: write # for writing comments on pull requests

#################
# Bump Tag jobs #
#################
Expand Down