Skip to content

Commit

Permalink
Add in job to handle !test comment commands
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Oct 15, 2024
1 parent 84ada87 commit d7a53c8
Showing 1 changed file with 10 additions and 1 deletion.
11 changes: 10 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ on:
- config/**
- .*
- README.md
# For config-pr-2-confirm.yml
# For config-pr-2-confirm.yml and '!test' comment commands
issue_comment:
types:
- created
Expand Down Expand Up @@ -51,6 +51,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

0 comments on commit d7a53c8

Please sign in to comment.