diff --git a/.github/actions/release/action.yml b/.github/actions/release/action.yml index fd087d0..8e9a00c 100644 --- a/.github/actions/release/action.yml +++ b/.github/actions/release/action.yml @@ -2,6 +2,8 @@ name: '🏷️ ' author: 'PHILLIPS71' inputs: + GITHUB_TOKEN: + required: true RELEASE_TYPE: required: true RELEASE_IDENTIFIER: @@ -47,6 +49,6 @@ runs: uses: thomaseizinger/create-pull-request@master with: title: 'chore(release): ${{ steps.version.outputs.version }}' - github_token: ${{ secrets.GITHUB_TOKEN }} + github_token: ${{ inputs.GITHUB_TOKEN }} head: release/${{ steps.version.outputs.version }} base: main diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 9b49670..06aa146 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -33,5 +33,6 @@ jobs: - name: '🏷️ Release' uses: ./.github/actions/release with: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} RELEASE_TYPE: ${{ github.event.inputs.type }} RELEASE_IDENTIFIER: ${{ github.event.inputs.identifier }}