diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index 0eacfbf..cd21e32 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -6,10 +6,6 @@ name: 'Release PR' on: workflow_dispatch: - inputs: - version: - description: 'Enter version (Eg: 1.3.0)' - required: true permissions: {} jobs: @@ -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"},