Skip to content

Commit

Permalink
ci.yml: Added new pr-comment-test job
Browse files Browse the repository at this point in the history
  • Loading branch information
CodeGat committed Nov 14, 2024
1 parent cf962a6 commit 1f6c148
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,16 @@ 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') && github.repository != 'ACCESS-NRI/model-configs-template'
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
checks: write # for adding a status badge next to the commit we are testing

bump-tag:
name: Tag Bump
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'
Expand Down

0 comments on commit 1f6c148

Please sign in to comment.