Skip to content

Commit 7ea484a

Browse files
authored
Trigger from Workflow (#2951)
1 parent dc7b367 commit 7ea484a

File tree

2 files changed

+6
-5
lines changed

2 files changed

+6
-5
lines changed

.github/workflows/docker-build-push-backend-container-on-tag.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Build and Push Backend Image on Tag
22

33
on:
4-
push:
4+
create:
55
tags:
66
- '*'
77

.github/workflows/pr-backport-autotrigger.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,8 @@ on:
66

77
permissions:
88
contents: write
9-
actions: write # Allows the workflow to trigger other workflows on push
9+
actions: write
10+
workflows: write
1011

1112
jobs:
1213
backport:
@@ -81,7 +82,7 @@ jobs:
8182
}
8283
# Create new beta tag
8384
git tag ${{ steps.list-branches.outputs.new_beta_tag }}
84-
# Push the changes and tag to the beta branch
85+
# Push the changes and tag to the beta branch using PAT
8586
git push origin ${{ steps.list-branches.outputs.beta }} --force
8687
git push origin ${{ steps.list-branches.outputs.new_beta_tag }}
8788
# Checkout the stable branch
@@ -93,6 +94,6 @@ jobs:
9394
}
9495
# Create new stable tag
9596
git tag ${{ steps.list-branches.outputs.new_stable_tag }}
96-
# Push the changes and tag to the stable branch
97+
# Push the changes and tag to the stable branch using PAT
9798
git push origin ${{ steps.list-branches.outputs.stable }} --force
98-
git push origin ${{ steps.list-branches.outputs.new_stable_tag }}
99+
git push origin ${{ steps.list-branches.outputs.new_stable_tag }}

0 commit comments

Comments
 (0)