Skip to content

Commit 9c22150

Browse files
committed
add GHA step to configure PAT
Signed-off-by: Corey Hemminger <hemminger@hotmail.com>
1 parent f3c82f2 commit 9c22150

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

.github/workflows/lint.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,9 @@ jobs:
2626
- 3.4
2727
steps:
2828
- uses: actions/checkout@v6
29+
- name: Configure Git for private repo access
30+
run: |
31+
git config --global url."https://x-access-token:${{ secrets.GH_PRIVATE_REPO_TOKEN }}@github.com/".insteadOf "https://github.com/"
2932
- uses: ruby/setup-ruby@v1
3033
with:
3134
ruby-version: ${{ matrix.ruby }}

0 commit comments

Comments
 (0)