From 7f4afa861afd0b572644835e6bf170f47cc1898a Mon Sep 17 00:00:00 2001 From: David Gamero Date: Wed, 6 Mar 2024 10:18:32 -0500 Subject: [PATCH] Update release-pr.yml (#92) --- .github/workflows/release-pr.yml | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/.github/workflows/release-pr.yml b/.github/workflows/release-pr.yml index bf448990..2520719b 100644 --- a/.github/workflows/release-pr.yml +++ b/.github/workflows/release-pr.yml @@ -1,14 +1,18 @@ -name: Create release PR +name: Release Project on: + push: + branches: + - main + paths: + - CHANGELOG.md workflow_dispatch: - inputs: - release: - description: 'Define release version (ex: v1, v2, v3)' - required: true jobs: - release-pr: - uses: OliverMKing/javascript-release-workflow/.github/workflows/release-pr.yml@main + release: + permissions: + actions: read + contents: write + uses: Azure/action-release-workflows/.github/workflows/release_js_project.yaml@6f9de5deea0d6655168c8dd26e8849698f9a3809 with: - release: ${{ github.event.inputs.release }} + changelogPath: ./CHANGELOG.md