Skip to content

Bump linear-b/gitstream-github-action from 2.0.225 to 2.0.226 #325

Bump linear-b/gitstream-github-action from 2.0.225 to 2.0.226

Bump linear-b/gitstream-github-action from 2.0.225 to 2.0.226 #325

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@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v5
- name: Extract Issue Number
env:
GITHUB_PULL_REQUEST_HEAD_REF: ${{ github.event.pull_request.head.ref }}
shell: bash
run: echo "##[set-output name=issue;]$(echo $GITHUB_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 }}