🔐 Move HOMEBREW_GITHUB_API_TOKEN to mas formula step

This commit is contained in:
Ben Chatelain 2024-11-03 11:51:53 -07:00
parent 8eeb204ad7
commit 7bde8fa7e6
No known key found for this signature in database

View file

@ -228,12 +228,6 @@ jobs:
run: |
script/bootstrap -f
- name: 🔐 Configure HOMEBREW_GITHUB_API_TOKEN
env:
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
run: |
export HOMEBREW_GITHUB_API_TOKEN=your_token_here >>/Users/runner/.bash_profile
- name: 🔧 Configure Git Author
run: |
git config --global user.name 'masclibot'
@ -242,6 +236,7 @@ jobs:
- name: 🍺 Update Homebrew mas formula
env:
GH_TOKEN: ${{ github.token }}
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
DRY_RUN: ${{ needs.start.outputs.dry_run }}
MAS_VERSION: ${{ needs.start.outputs.mas_version }}
run: |