Skip to content

Commit

Permalink
ci: Use GITHUB_TOKEN with Homebrew
Browse files Browse the repository at this point in the history
  • Loading branch information
staticaland committed Nov 20, 2023
1 parent 6e3e48d commit 1a64ed5
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion .github/workflows/run_ok_command.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,8 +63,9 @@ jobs:
steps:

- name: Install ok
env:
HOMEBREW_GITHUB_API_TOKEN: "${{ secrets.GITHUB_TOKEN }}"
run: |
export HOMEBREW_GITHUB_API_TOKEN=$(gh config get -h github.com oauth_token)
brew tap oslokommune/ok [email protected]:oslokommune/ok.git
brew install ok
ok "${{ inputs.subcommand }}"

0 comments on commit 1a64ed5

Please sign in to comment.