Skip to content

Commit

Permalink
Update create_realease.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
MaxM1211 committed Dec 8, 2023
1 parent ae1ccf7 commit 7c84894
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions .github/workflows/create_realease.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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 }}
Expand All @@ -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
Expand All @@ -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 }}
Expand Down

0 comments on commit 7c84894

Please sign in to comment.