Skip to content

Commit 9dbb099

Browse files
authored
Merge pull request #71 from aj3sh/fix/release-pr-ci-fix
Fix/release pr ci fix
2 parents ad93c8d + d15e575 commit 9dbb099

File tree

1 file changed

+3
-8
lines changed

1 file changed

+3
-8
lines changed

.github/workflows/release-pr.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,6 @@ name: 'Release PR'
66

77
on:
88
workflow_dispatch:
9-
inputs:
10-
version:
11-
description: 'Enter version (Eg: 1.3.0)'
12-
required: true
139

1410
permissions: {}
1511
jobs:
@@ -21,18 +17,17 @@ jobs:
2117
runs-on: ubuntu-latest
2218
steps:
2319
- name: Display Release version
24-
run: echo "Creating release PR for ${{ github.event.inputs.version }}"
20+
run: echo "Creating release PR"
2521

2622
- name: Create Release PR
2723
uses: google-github-actions/release-please-action@v3
2824
id: release
2925
with:
30-
token: ${{ secrets.GITHUB_TOKEN }}
26+
token: ${{ secrets.REPO_SCOPED_TOKEN }}
3127
release-type: node
3228
package-name: nepali-datetime
33-
release-as: '${{ github.event.inputs.version }}'
3429
pull-request-title-pattern: 'chore: release v${version}'
35-
pull-request-header: 'Release PR for v${{ github.event.inputs.version }}'
30+
pull-request-header: 'Release PR'
3631
changelog-types: >
3732
[
3833
{"type":"fix","section":"Bug Fixes"},

0 commit comments

Comments
 (0)