Skip to content

Commit 06611e7

Browse files
authored
Merge pull request #42 from holysoles/support_forks_during_helm_docs_action
Support helm-docs on forks by specifying repo during checkout
2 parents 57f6020 + 8f266cb commit 06611e7

File tree

3 files changed

+7
-2
lines changed

3 files changed

+7
-2
lines changed

.github/workflows/ci-helm-lint-test.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ jobs:
1717
uses: actions/checkout@v4
1818
with:
1919
fetch-depth: "0"
20+
ref: ${{ github.event.pull_request.head.ref }}
21+
repository: ${{ github.event.pull_request.head.repo.full_name }}
2022

2123
- name: Install Helm
2224
uses: azure/setup-helm@v4
@@ -50,6 +52,8 @@ jobs:
5052
uses: actions/checkout@v4
5153
with:
5254
fetch-depth: "0"
55+
ref: ${{ github.event.pull_request.head.ref }}
56+
repository: ${{ github.event.pull_request.head.repo.full_name }}
5357

5458
- name: Install Helm
5559
uses: azure/setup-helm@v4

.github/workflows/helm-docs.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,10 @@ jobs:
2020
uses: actions/checkout@v4
2121
with:
2222
ref: ${{ github.event.pull_request.head.ref }}
23+
repository: ${{ github.event.pull_request.head.repo.full_name }}
2324

2425
- name: Render helm docs inside the README.md and push changes back to PR branch
2526
uses: jessebot/[email protected]
2627
with:
27-
working-dir: charts/pixelfed
28+
# working-dir: charts/pixelfed
2829
git-push: "true"

charts/pixelfed/values.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -554,7 +554,7 @@ pixelfed:
554554
# -- key in existing Kubernetes Secret for password. If set, ignores mail.password
555555
password: ""
556556

557-
# Mail Configuration (Post-Installer)
557+
# S3 Configuration (Required if .Values.pixelfed.pf.enable_cloud is true)
558558
s3:
559559
# -- s3 url including protocol such as https://s3.domain.com
560560
url: ""

0 commit comments

Comments
 (0)