Skip to content

Commit

Permalink
Merge pull request #69 from tweag/cg/use_action_for_gh_api_auth
Browse files Browse the repository at this point in the history
chore: use extractions/netrc to configure GitHub API authentication
  • Loading branch information
mergify[bot] authored Dec 12, 2023
2 parents c102873 + 20d5ead commit 4477ba7
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions .github/workflows/workflow.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,15 +35,15 @@ jobs:
with:
buildbuddy_api_key: ${{ secrets.BUILDBUDDY_API_KEY }}
bazelrc_path: .bazelrc.auth
- uses: extractions/netrc@v1
with:
machine: api.github.com
password: ${{ secrets.GITHUB_TOKEN }}
- name: Configure
run: |
cat >>.bazelrc.local <<EOF
build --config=ci
EOF
cat >~/.netrc <<EOF
machine api.github.com
password ${{ secrets.GITHUB_TOKEN }}
EOF
cat >.bazelrc.disable-stardoc <<-EOF
build --build_tag_filters=-stardoc_generation
test --test_tag_filters=-stardoc_generation
Expand Down

0 comments on commit 4477ba7

Please sign in to comment.