Skip to content

Commit

Permalink
Update label-new-issues.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
ines-gimeno-molina authored Apr 30, 2024
1 parent eacaca1 commit 07cd741
Showing 1 changed file with 3 additions and 5 deletions.
8 changes: 3 additions & 5 deletions .github/workflows/label-new-issues.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,16 +44,14 @@ jobs:

- name: Checkout repository
uses: actions/checkout@v2

- name: Create Branch
id: create-branch
run: |
echo "We will create a branch with this name: $BRANCH_NAME"
git checkout -b $BRANCH_NAME
git push origin $BRANCH_NAME
echo "::set-output name=BRANCH_FULL_NAME::$BRANCH_NAME"
echo "::set-output name=BRANCH_SHA::$(git rev-parse HEAD)"
gh issue develop $ISSUE_NUMBER -b dev -n $BRANCH_NAME
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_REPO: ${{ github.repository }}
BRANCH_NAME: ${{ steps.set-branch-name.outputs.BRANCH_FULL_NAME }}
ISSUE_NUMBER: ${{ github.event.issue.number }}

0 comments on commit 07cd741

Please sign in to comment.