Skip to content

Commit d430200

Browse files
committed
chore: use extractions/netrc to configure GitHub API authentication
1 parent 652db49 commit d430200

File tree

2 files changed

+3
-23
lines changed

2 files changed

+3
-23
lines changed

.github/actions/authenticate_github_api/action.yaml

Lines changed: 0 additions & 21 deletions
This file was deleted.

.github/workflows/workflow.yaml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,9 +26,10 @@ jobs:
2626
buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
2727
bazelrc_path: .bazelrc.auth
2828
- uses: ./.github/actions/set_tcp_keepalive_time
29-
- uses: ./.github/actions/authenticate_github_api
29+
- uses: extractions/netrc@v1
3030
with:
31-
github_token: ${{ secrets.GITHUB_TOKEN }}
31+
machine: api.github.com
32+
password: ${{ secrets.GITHUB_TOKEN }}
3233
- name: Configure
3334
run: |
3435
cat >>.bazelrc.local <<EOF

0 commit comments

Comments
 (0)