Skip to content
This repository has been archived by the owner on Nov 10, 2024. It is now read-only.

Commit

Permalink
Update create-release-pr.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
V00D00-child authored Nov 17, 2023
1 parent 3c53cdd commit 6d4d3f7
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,9 @@ on:
description: 'A specific version to bump to, i.e. 0.1.1'
required: true

env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} # setting GH_TOKEN for the entire workflow

jobs:
create-release-pr:
runs-on: ubuntu-latest
Expand Down Expand Up @@ -40,9 +43,6 @@ jobs:
echo "::set-output name=branch_name::$branch_name"
- name: Authenticate with GitHub CLI
run: gh auth login --with-token < ${{ secrets.GH_TOKEN }}

- name: Open Pull Request
run: |
gh pr create --base ${{ github.event.inputs.base-branch }} --head ${{ steps.create-release-pr.outputs.branch_name }} --title "Release v${{ github.event.inputs.release-version }}" --body "Automated release PR for version v${{ github.event.inputs.release-version }}"

0 comments on commit 6d4d3f7

Please sign in to comment.