File tree Expand file tree Collapse file tree 1 file changed +4
-0
lines changed
Expand file tree Collapse file tree 1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -170,6 +170,8 @@ runs:
170170 - name : Get target changelog
171171 if : ${{ ( steps.target.outputs.latestTag != steps.target.outputs.originalTag ) && ( steps.root.outputs.changed == 'false') }}
172172 shell : pwsh
173+ env :
174+ GH_TOKEN : ${{ inputs.api-token }}
173175 run : |
174176 $changelog = ${{ github.action_path }}/scripts/get-changelog.ps1 `
175177 -RepoUrl '${{ steps.target.outputs.url }}' `
@@ -229,6 +231,7 @@ runs:
229231 shell : pwsh
230232 env :
231233 DEPENDENCY_PATH : ${{ inputs.path }}
234+ GH_TOKEN : ${{ inputs.api-token }}
232235 run : ${{ github.action_path }}/scripts/update-dependency.ps1 -Path $env:DEPENDENCY_PATH -Tag '${{ steps.target.outputs.latestTag }}'
233236
234237 - name : Update Changelog
@@ -237,6 +240,7 @@ runs:
237240 env :
238241 DEPENDENCY_NAME : ${{ inputs.name }}
239242 CHANGELOG_SECTION : ${{ inputs.changelog-section }}
243+ GH_TOKEN : ${{ inputs.api-token }}
240244 run : |
241245 ${{ github.action_path }}/scripts/update-changelog.ps1 `
242246 -Name $env:DEPENDENCY_NAME `
You can’t perform that action at this time.
0 commit comments