From d4302003c6aadbfbd4170f0cc0bfa5a60b5f4049 Mon Sep 17 00:00:00 2001 From: Chuck Grindel Date: Mon, 11 Dec 2023 15:41:38 -0700 Subject: [PATCH] chore: use extractions/netrc to configure GitHub API authentication --- .../authenticate_github_api/action.yaml | 21 ------------------- .github/workflows/workflow.yaml | 5 +++-- 2 files changed, 3 insertions(+), 23 deletions(-) delete mode 100644 .github/actions/authenticate_github_api/action.yaml diff --git a/.github/actions/authenticate_github_api/action.yaml b/.github/actions/authenticate_github_api/action.yaml deleted file mode 100644 index 6fcf2c6ff..000000000 --- a/.github/actions/authenticate_github_api/action.yaml +++ /dev/null @@ -1,21 +0,0 @@ -name: Authenticate with GitHub API -description: | - Authenticated GitHub API requests are not rate-limited like unauthenticated requests. - -# For more details: https://github.com/tweag/rules_haskell/pull/1494 - -inputs: - github_token: - type: string - -runs: - using: composite - steps: - - shell: bash - env: - GITHUB_TOKEN: ${{ inputs.github_token }} - run: | - cat >~/.netrc <>.bazelrc.local <