Skip to content

Commit 5aecc46

Browse files
authored
Merge pull request #100 from ACCESS-NRI/99-test-comment-command
Add `!test` Comment Command
2 parents cf962a6 + 1f6c148 commit 5aecc46

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

.github/workflows/ci.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,16 @@ jobs:
4747
contents: write # For updating metadata.yaml version and committing checksums
4848
pull-requests: write # For commenting on PR
4949

50+
pr-comment-test:
51+
name: '!test'
52+
if: github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!test') && github.repository != 'ACCESS-NRI/model-configs-template'
53+
uses: access-nri/model-config-tests/.github/workflows/config-comment-test.yml@main
54+
secrets: inherit
55+
permissions:
56+
contents: write # for committing the result of the repro test
57+
pull-requests: write # for writing comments on pull requests
58+
checks: write # for adding a status badge next to the commit we are testing
59+
5060
bump-tag:
5161
name: Tag Bump
5262
if: (github.event_name == 'push' || github.event_name == 'create' && github.ref_type == 'branch' && startsWith(github.ref_name, 'release-')) && github.repository != 'ACCESS-NRI/model-configs-template'

0 commit comments

Comments
 (0)