Skip to content

Commit

Permalink
chore: use extractions/netrc to configure GitHub API authentication
Browse files Browse the repository at this point in the history
  • Loading branch information
cgrindel committed Dec 11, 2023
1 parent 652db49 commit d430200
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 23 deletions.
21 changes: 0 additions & 21 deletions .github/actions/authenticate_github_api/action.yaml

This file was deleted.

5 changes: 3 additions & 2 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ jobs:
buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
bazelrc_path: .bazelrc.auth
- uses: ./.github/actions/set_tcp_keepalive_time
- uses: ./.github/actions/authenticate_github_api
- uses: extractions/netrc@v1
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
machine: api.github.com
password: ${{ secrets.GITHUB_TOKEN }}
- name: Configure
run: |
cat >>.bazelrc.local <<EOF
Expand Down

0 comments on commit d430200

Please sign in to comment.