Skip to content

Commit e7c37fe

Browse files
vaindclaude
andcommitted
fix: set GH_TOKEN env var for GitHub CLI in CI
Ensures that gh api commands work properly in CI environments by setting the GH_TOKEN environment variable to the provided api-token input. This fixes the issue where GitHub release title filtering would fail silently in CI due to lack of authentication. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <[email protected]>
1 parent e45f929 commit e7c37fe

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

updater/action.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,7 @@ runs:
112112
DEPENDENCY_PATH: ${{ inputs.path }}
113113
DEPENDENCY_PATTERN: ${{ inputs.pattern }}
114114
GH_TITLE_PATTERN: ${{ inputs.gh-title-pattern }}
115+
GH_TOKEN: ${{ inputs.api-token }}
115116
run: ${{ github.action_path }}/scripts/update-dependency.ps1 -Path $env:DEPENDENCY_PATH -Pattern $env:DEPENDENCY_PATTERN -GhTitlePattern $env:GH_TITLE_PATTERN
116117

117118
- name: Get the base repo info

0 commit comments

Comments
 (0)