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 for relative workflow invocation #13

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
11 changes: 5 additions & 6 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,9 @@ jobs:
pr-ci:
name: CI
if: >-
(github.event_name == 'pull_request' && github.event.action != 'closed') || (github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
uses: access-nri/build-cd/.github/workflows/ci.yml@v3
(github.event_name == 'pull_request' && github.event.action != 'closed') ||
(github.event_name == 'issue_comment' && startsWith(github.event.comment.body, '!redeploy'))
uses: access-nri/build-cd/.github/workflows/ci.yml@196-move-to-relative-workflow-ref
with:
model: ${{ vars.NAME }}
# root-sbd: if different from vars.NAME
Expand All @@ -36,7 +37,7 @@ jobs:
pr-comment:
name: Comment
if: github.event_name == 'issue_comment'
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@v3
uses: access-nri/build-cd/.github/workflows/ci-comment.yml@196-move-to-relative-workflow-ref
with:
model: ${{ vars.NAME }}
# root-sbd: if different from vars.NAME
Expand All @@ -47,9 +48,7 @@ jobs:
pr-closed:
name: Closed
if: github.event_name == 'pull_request' && github.event.action == 'closed'
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@v3
uses: access-nri/build-cd/.github/workflows/ci-closed.yml@196-move-to-relative-workflow-ref
with:
model: ${{ vars.NAME }}
secrets: inherit
ci-comment:
secrets: inherit
2 changes: 1 addition & 1 deletion spack.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# This is a Spack Environment file.
# This is a Spack Environment file, testing out relative uses.
#
# It describes a set of packages to be installed, along with
# configuration settings.
Expand Down
Loading