Skip to content

Commit

Permalink
fix(ci): Use workflow name rather than filename (#4405)
Browse files Browse the repository at this point in the history
# Motivation
Triggering releases on tag did not work. Presumably that is because the
workflow filename name was used instead of the human readable name.

# Changes
- Make the name more accurate - the triggering workflow tags but does
not create a release.
- In the triggered workflows, use the name not the filename.

# Tests
Can only be tested properly in main.
  • Loading branch information
bitdivine authored Jan 22, 2025
1 parent 163066b commit f94201d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/deploy-to-environment.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
tags:
- v*
workflow_run:
workflows: ['tag-release.yml']
workflows: ['Tag on Merge from Release Branch']
types:
- completed

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release-notes.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ on:
tags:
- v*
workflow_run:
workflows: ['tag-release.yml']
workflows: ['Tag on Merge from Release Branch']
types:
- completed

Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/tag-release.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
name: Tag and Release on Merge from Release Branch
name: Tag on Merge from Release Branch

on:
pull_request:
Expand Down

0 comments on commit f94201d

Please sign in to comment.