Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 8 additions & 1 deletion .github/workflows/create-release-pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,13 @@ jobs:
name: Create Release PR
runs-on: ubuntu-latest
steps:
- name: Generate release app token
id: app-token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2

Expand All @@ -38,7 +45,7 @@ jobs:
with:
releaseo_version: v0.0.3
bump_type: ${{ inputs.bump_type }}
token: ${{ secrets.RELEASE_TOKEN }}
token: ${{ steps.app-token.outputs.token }}
version_files: |
- file: helm/Chart.yaml
path: version
Expand Down
12 changes: 10 additions & 2 deletions .github/workflows/create-release-tag.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,13 @@ jobs:
create-tag:
runs-on: ubuntu-latest
steps:
- name: Generate release app token
id: app-token
uses: actions/create-github-app-token@1b10c78c7865c340bc4f6099eb2f838309f1e8c3 # v3.1.1
with:
client-id: ${{ vars.RELEASE_APP_CLIENT_ID }}
private-key: ${{ secrets.RELEASE_APP_PRIVATE_KEY }}

- name: Checkout
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
with:
Expand Down Expand Up @@ -126,13 +133,14 @@ jobs:
echo "Created and pushed tag: $TAG"

# Create GitHub Release (triggers docker-publish.yml and releaser-helm-chart.yml)
# Note: Must use PAT (GH_TOKEN) because GITHUB_TOKEN cannot trigger other workflows
# Note: Uses a GitHub App installation token rather than GITHUB_TOKEN,
# because events from GITHUB_TOKEN cannot trigger downstream workflows.
Comment on lines 135 to +137
Copy link

Copilot AI Apr 28, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The note here says the GitHub Release triggers downstream workflows, but earlier in this same file the header comment says the tag push triggers docker/helm workflows (via on: push: tags: ["v*"]). These comments contradict the actual setup (release-ui.yml triggers on release: published). Please update the surrounding documentation so it consistently reflects the real trigger path (Release published -> release-ui.yml -> workflow_call jobs).

Copilot uses AI. Check for mistakes.
gh release create "$TAG" \
--title "Release $TAG" \
--generate-notes
echo "Created GitHub Release: $TAG"
env:
GH_TOKEN: ${{ secrets.RELEASE_TOKEN }}
GH_TOKEN: ${{ steps.app-token.outputs.token }}

- name: Summary
run: |
Expand Down
Loading