Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/release pr ci fix #71

Merged
merged 2 commits into from
Nov 16, 2023
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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