-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Update to MorphoCloud/MorphoCloudWorkflow@e2141dd
List of MorphoCloudWorkflow changes: ``` $ git shortlog d4e1ccb..e2141dd --no-merges Jean-Christophe Fillion-Robin (1): feat: Rename command from "/delete" to "/delete_instance" ``` See MorphoCloud/MorphoCloudWorkflow@d4e1ccb...e2141dd
- Loading branch information
Showing
4 changed files
with
29 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -16,7 +16,7 @@ jobs: | |
${{ !github.event.issue.pull_request && ( | ||
contains(github.event.comment.body, '/unshelve') || | ||
contains(github.event.comment.body, '/shelve') || | ||
contains(github.event.comment.body, '/delete') ) }} | ||
contains(github.event.comment.body, '/delete_instance') ) }} | ||
steps: | ||
- name: unshelve command | ||
id: unshelve_command | ||
|
@@ -42,11 +42,11 @@ jobs: | |
"${{ vars.MORPHOCLOUD_GITHUB_ADMINS }},${{ | ||
github.event.issue.user.login }}" | ||
|
||
- name: delete command | ||
id: delete_command | ||
- name: delete_instance command | ||
id: delete_instance_command | ||
uses: github/[email protected] | ||
with: | ||
command: "/delete" | ||
command: "/delete_instance" | ||
reaction: "rocket" | ||
allowed_contexts: "issue" | ||
permissions: "write,maintain,admin" | ||
|
@@ -57,7 +57,7 @@ jobs: | |
if: | ||
${{ steps.unshelve_command.outputs.continue == 'true' || | ||
steps.shelve_command.outputs.continue == 'true' || | ||
steps.delete_command.outputs.continue == 'true' }} | ||
steps.delete_instance_command.outputs.continue == 'true' }} | ||
run: | | ||
if [[ "$UNSHELVE_COMMAND_CONTINUE" == "true" ]]; then | ||
continue="$UNSHELVE_COMMAND_CONTINUE" | ||
|
@@ -67,10 +67,10 @@ jobs: | |
continue="$SHELVE_COMMAND_CONTINUE" | ||
command_name="shelve" | ||
comment_id="${{ steps.shelve_command.outputs.comment_id }}" | ||
elif [[ "$DELETE_COMMAND_CONTINUE" == "true" ]]; then | ||
continue="$DELETE_COMMAND_CONTINUE" | ||
command_name="delete" | ||
comment_id="${{ steps.delete_command.outputs.comment_id }}" | ||
elif [[ "$DELETE_INSTANCE_COMMAND_CONTINUE" == "true" ]]; then | ||
continue="$DELETE_INSTANCE_COMMAND_CONTINUE" | ||
command_name="delete_instance" | ||
comment_id="${{ steps.delete_instance_command.outputs.comment_id }}" | ||
else | ||
continue="false" | ||
command_name="" | ||
|
@@ -83,7 +83,8 @@ jobs: | |
UNSHELVE_COMMAND_CONTINUE: | ||
${{ steps.unshelve_command.outputs.continue }} | ||
SHELVE_COMMAND_CONTINUE: ${{ steps.shelve_command.outputs.continue }} | ||
DELETE_COMMAND_CONTINUE: ${{ steps.delete_command.outputs.continue }} | ||
DELETE_INSTANCE_COMMAND_CONTINUE: | ||
${{ steps.delete_instance_command.outputs.continue }} | ||
|
||
- uses: actions/checkout@v4 | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters