Skip to content

Commit

Permalink
Update milestone prefix and assign the PR
Browse files Browse the repository at this point in the history
  • Loading branch information
sc0ttkclark committed Dec 13, 2023
1 parent 03fe1be commit 6336f7a
Showing 1 changed file with 10 additions and 8 deletions.
18 changes: 10 additions & 8 deletions .github/workflows/prepare-release-branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ name: Prepare Release Branch
env:
PR_PREFIX: 'Pods '
PR_LABELS: 'Type: Release'
MILESTONE_PREFIX: 'Pods '
BRANCH_PREFIX: 'release/'
VERSION_INCREMENT: 'patch'
WPORG_PLUGIN_FILE: 'init.php'
Expand Down Expand Up @@ -53,6 +54,14 @@ jobs:
plugin_version_constant_name: ${{ env.WPORG_PLUGIN_VERSION_CONSTANT_NAME }}
plugin_file: ${{ env.WPORG_PLUGIN_FILE }}
plugin_path: ${{ github.workspace }}
- name: Create Milestone
id: createmilestone
uses: WyriHaximus/[email protected]
continue-on-error: true
with:
title: "${{ env.MILESTONE_PREFIX }}${{ env.PLUGIN_VERSION }}"
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Create Pull Request
uses: peter-evans/[email protected]
with:
Expand All @@ -62,12 +71,5 @@ jobs:
title: '${{ env.PR_PREFIX }}${{ env.PLUGIN_VERSION }}'
labels: ${{ env.PR_LABELS }}
assignees: ${{ github.actor }}
milestone: "${{ env.MILESTONE_PREFIX }}${{ env.PLUGIN_VERSION }}"
draft: true
- name: 'Create Milestone'
id: createmilestone
uses: "WyriHaximus/github-action-create-milestone@v1"
continue-on-error: true
with:
title: ${{ env.PLUGIN_VERSION }}
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit 6336f7a

Please sign in to comment.