Skip to content

Commit 9cc91a3

Browse files
committed
review feedback
1 parent a624801 commit 9cc91a3

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

‎.github/workflows/release.yaml‎

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ jobs:
7676

7777
- name: Ensure tap fork exists
7878
run: |
79-
# Create fork with suffix `-fork` to indicate that the repo in the technical user are just a fork
79+
# Create fork with suffix `-fork` to indicate that the repo in the technical users account is just a fork
8080
gh repo fork stackitcloud/homebrew-tap \
8181
--fork-name homebrew-tap-fork \
8282
--clone=false || true
@@ -88,7 +88,11 @@ jobs:
8888
with:
8989
args: release --clean
9090
env:
91+
# GITHUB_TOKEN is used to create the GitHub release in this repository.
92+
# It uses the workflow-level permissions defined above.
9193
GITHUB_TOKEN: ${{ github.token }}
94+
# HOMEBREW_RELEASE_TOKEN is a PAT belonging to the `stackit-pipeline` user.
95+
# It is used by GoReleaser to push to the tap fork and open the upstream Homebrew PR.
9296
HOMEBREW_RELEASE_TOKEN: ${{ secrets.CLI_RELEASE }}
9397
GPG_FINGERPRINT: ${{ steps.import_gpg.outputs.fingerprint }}
9498
GPG_KEY_PATH: ${{ env.GPG_KEY_PATH }}

0 commit comments

Comments
 (0)