Bump cake-build/cake-action from 1 to 2 #13
Workflow file for this run
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
name: Completed Feature Workflow | |
on: | |
pull_request: | |
branches: [ develop ] | |
types: [closed] | |
jobs: | |
update-merged-issue-issues: | |
if: github.event.pull_request.merged_by != '' && github.actor != 'dependabot[bot]' && startsWith(github.head_ref, 'feature/issue-') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v4 | |
- name: Extract Issue Number | |
shell: bash | |
run: echo "##[set-output name=issue;]$(echo ${{ github.event.pull_request.head.ref }} | sed 's|[^0-9]||g')" | |
id: extract_issue | |
- name: Output Issue Number | |
run: echo "Issue Number- ${{ steps.extract_issue.outputs.issue }}" | |
- name: Update Labels | |
run: gh issue edit ${{ steps.extract_issue.outputs.issue }} --add-label "next release" --remove-label "in progress" | |
env: | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |