Skip to content

Commit 826ac26

Browse files
Push with token
1 parent 88961e6 commit 826ac26

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

.github/workflows/core_release.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,15 @@ permissions:
1616

1717
jobs:
1818
release:
19+
if: github.repository == 'opf/helm-charts'
1920
name: Update the Helm chart for a core release
2021
runs-on: ubuntu-latest
2122
steps:
2223
- name: Checkout Repo
2324
uses: actions/checkout@v3
2425
with:
2526
fetch-depth: 0
27+
token: ${{ secrets.OPENRPOJECTCI_GH_TOKEN }}
2628

2729
- name: Setup Ruby
2830
uses: ruby/setup-ruby@v1
@@ -42,4 +44,6 @@ jobs:
4244
git add .changeset/*.md
4345
git add charts/openproject/Chart.yaml
4446
git commit -m "Update helm chart for core release ${{ inputs.tag }}"
45-
git push
47+
git push origin main
48+
env:
49+
GITHUB_TOKEN: ${{ secrets.OPENRPOJECTCI_GH_TOKEN }}

0 commit comments

Comments
 (0)