diff --git a/.github/workflows/create_realease.yml b/.github/workflows/create_realease.yml index 23520919..c917998a 100644 --- a/.github/workflows/create_realease.yml +++ b/.github/workflows/create_realease.yml @@ -107,8 +107,7 @@ jobs: runs-on: ubuntu-latest needs: get_context_info if: needs.get_context_info.outputs.NEW_COMMIT_COUNT_LIVE > 0 - permissions: - contents: write + permissions: write-all steps: - name: Checkout Code uses: actions/checkout@v4 @@ -129,7 +128,6 @@ jobs: - name: Create Release For LIVE uses: ncipollo/release-action@v1.13.0 with: - token: ${{ secrets.GITHUB_TOKEN }} tag: ${{ inputs.tag || needs.get_context_info.outputs.DATE_REV }}-LIVE commit: ${{ needs.get_context_info.outputs.COMMIT_LIVE }} name: ${{ needs.get_context_info.outputs.RELEASE_TITLE_LIVE }} @@ -141,8 +139,7 @@ jobs: runs-on: ubuntu-latest needs: [get_context_info, live_release] if: always() && (vars.TRIGGER_PTU_RELEASE == 1) && (needs.get_context_info.outputs.NEW_COMMIT_COUNT_PTU > 0) - permissions: - contents: write + permissions: write-all steps: - name: Checkout Code uses: actions/checkout@v4 @@ -163,7 +160,6 @@ jobs: - name: Create Release For PTU uses: ncipollo/release-action@v1.13.0 with: - token: ${{ secrets.WORKFLOW_TOKEN }} tag: ${{ inputs.tag || needs.get_context_info.outputs.DATE_REV }}-PTU commit: ${{ needs.get_context_info.outputs.COMMIT_PTU }} name: ${{ needs.get_context_info.outputs.RELEASE_TITLE_PTU }}