Skip to content

Commit 4df6f81

Browse files
authored
ci: update the release PR after every merge to master (#599)
* ci: use bot token in release workflow to bypass loop detection and run PR checks Signed-off-by: Tom Hayward <thayward@infoblox.com> * ci: update the release PR after every merge to master Signed-off-by: Tom Hayward <thayward@infoblox.com> --------- Signed-off-by: Tom Hayward <thayward@infoblox.com>
1 parent 30c4583 commit 4df6f81

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/release.yaml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
name: Release Chart
22

33
on:
4+
push:
5+
branches:
6+
- master
47
workflow_dispatch:
58
inputs:
69
version:
@@ -20,6 +23,7 @@ jobs:
2023
uses: actions/checkout@v6
2124
with:
2225
fetch-depth: 0
26+
token: ${{ secrets.CORTEX_HELM_CHART_CI_TOKEN }}
2327

2428
- name: Configure Git
2529
run: |
@@ -52,7 +56,7 @@ jobs:
5256
5357
- name: Create or Update Pull Request
5458
env:
55-
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
59+
GITHUB_TOKEN: ${{ secrets.CORTEX_HELM_CHART_CI_TOKEN }}
5660
run: |
5761
git checkout -b release-${{ steps.version.outputs.new_version }}
5862
git add Chart.yaml README.md CHANGELOG.md docs/

0 commit comments

Comments
 (0)