From 1f6c148d7065ea891d89399de3b588185dbf5781 Mon Sep 17 00:00:00 2001 From: Tommy Gatti Date: Thu, 14 Nov 2024 12:08:21 +1100 Subject: [PATCH] ci.yml: Added new pr-comment-test job --- .github/workflows/ci.yml | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 68ee191..e4c0ba3 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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'