Skip to content

Commit ab169bc

Browse files
committed
feat: auth using a custom fork-scoped token
1 parent 80b89ab commit ab169bc

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

.github/workflows/update_dependencies_pr.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,7 +35,11 @@ jobs:
3535
echo "$num_deps dependencies to update"
3636
fi
3737
- name: Configure git
38+
env:
39+
GH_TOKEN: ${{ secrets.UPDATE_DEPS_KIBANA_REPO_TOKEN }}
3840
run: |
41+
echo "${GH_TOKEN}" | gh auth login --with-token
42+
gh auth setup-git
3943
git config --global user.name 'github-actions[bot]'
4044
git config --global user.email '41898282+github-actions[bot]@users.noreply.github.com'
4145
- name: Checkout the upstream repository

0 commit comments

Comments
 (0)