Skip to content

Commit

Permalink
Merge pull request #71 from aj3sh/fix/release-pr-ci-fix
Browse files Browse the repository at this point in the history
Fix/release pr ci fix
  • Loading branch information
sugat009 authored Nov 16, 2023
2 parents ad93c8d + d15e575 commit 9dbb099
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions .github/workflows/release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,6 @@ name: 'Release PR'

on:
workflow_dispatch:
inputs:
version:
description: 'Enter version (Eg: 1.3.0)'
required: true

permissions: {}
jobs:
Expand All @@ -21,18 +17,17 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Display Release version
run: echo "Creating release PR for ${{ github.event.inputs.version }}"
run: echo "Creating release PR"

- name: Create Release PR
uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.GITHUB_TOKEN }}
token: ${{ secrets.REPO_SCOPED_TOKEN }}
release-type: node
package-name: nepali-datetime
release-as: '${{ github.event.inputs.version }}'
pull-request-title-pattern: 'chore: release v${version}'
pull-request-header: 'Release PR for v${{ github.event.inputs.version }}'
pull-request-header: 'Release PR'
changelog-types: >
[
{"type":"fix","section":"Bug Fixes"},
Expand Down

0 comments on commit 9dbb099

Please sign in to comment.