Skip to content

Commit

Permalink
Add: Support label for calendar release type
Browse files Browse the repository at this point in the history
Extend release-type action to support setting the `make release` label
for creating a new calver based release.
  • Loading branch information
bjoernricks authored and greenbonebot committed Mar 20, 2024
1 parent e1e2d28 commit 21acc96
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions release-type/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,10 @@ runs:
run: |
echo "RELEASE_TYPE=beta" >> $GITHUB_ENV
shell: bash
- if: contains(github.event.pull_request.labels.*.name, 'make release')
run: |
echo "RELEASE_TYPE=calendar" >> $GITHUB_ENV
shell: bash
- name: Workflow_dispatch RELEASE_TYPE
if: github.event_name == 'workflow_dispatch'
run: |
Expand Down

0 comments on commit 21acc96

Please sign in to comment.