diff --git a/.github/workflows/docker-build-push-backend-container-on-tag.yml b/.github/workflows/docker-build-push-backend-container-on-tag.yml index ef07e051db3..7318fd64f13 100644 --- a/.github/workflows/docker-build-push-backend-container-on-tag.yml +++ b/.github/workflows/docker-build-push-backend-container-on-tag.yml @@ -1,7 +1,7 @@ name: Build and Push Backend Image on Tag on: - push: + create: tags: - '*' diff --git a/.github/workflows/pr-backport-autotrigger.yml b/.github/workflows/pr-backport-autotrigger.yml index 2376365c41d..935ce04bf63 100644 --- a/.github/workflows/pr-backport-autotrigger.yml +++ b/.github/workflows/pr-backport-autotrigger.yml @@ -6,7 +6,8 @@ on: permissions: contents: write - actions: write # Allows the workflow to trigger other workflows on push + actions: write + workflows: write jobs: backport: @@ -81,7 +82,7 @@ jobs: } # Create new beta tag git tag ${{ steps.list-branches.outputs.new_beta_tag }} - # Push the changes and tag to the beta branch + # Push the changes and tag to the beta branch using PAT git push origin ${{ steps.list-branches.outputs.beta }} --force git push origin ${{ steps.list-branches.outputs.new_beta_tag }} # Checkout the stable branch @@ -93,6 +94,6 @@ jobs: } # Create new stable tag git tag ${{ steps.list-branches.outputs.new_stable_tag }} - # Push the changes and tag to the stable branch + # Push the changes and tag to the stable branch using PAT git push origin ${{ steps.list-branches.outputs.stable }} --force - git push origin ${{ steps.list-branches.outputs.new_stable_tag }} \ No newline at end of file + git push origin ${{ steps.list-branches.outputs.new_stable_tag }}