Support actions on forks by specifying repo during checkout

This commit is contained in:
holysoles
2025-01-23 09:46:21 -06:00
parent 57f6020434
commit d2bbbde49d
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -17,6 +17,8 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: "0" fetch-depth: "0"
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Helm - name: Install Helm
uses: azure/setup-helm@v4 uses: azure/setup-helm@v4
@@ -50,6 +52,8 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
fetch-depth: "0" fetch-depth: "0"
ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Install Helm - name: Install Helm
uses: azure/setup-helm@v4 uses: azure/setup-helm@v4
+1
View File
@@ -20,6 +20,7 @@ jobs:
uses: actions/checkout@v4 uses: actions/checkout@v4
with: with:
ref: ${{ github.event.pull_request.head.ref }} ref: ${{ github.event.pull_request.head.ref }}
repository: ${{ github.event.pull_request.head.repo.full_name }}
- name: Render helm docs inside the README.md and push changes back to PR branch - name: Render helm docs inside the README.md and push changes back to PR branch
uses: jessebot/helm-docs-action@0.0.1 uses: jessebot/helm-docs-action@0.0.1