File tree Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Expand file tree Collapse file tree 1 file changed +10
-6
lines changed Original file line number Diff line number Diff line change @@ -137,13 +137,22 @@ jobs:
137137 permissions :
138138 contents : write
139139 pull-requests : write
140+ env :
141+ GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
142+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
140143 steps :
141144 - uses : actions/checkout@v4
142145
146+ - name : Configure Git
147+ run : |
148+ # Configure git
149+ git config --global user.name 'github-actions[bot]'
150+ git config --global user.email 'github-actions[bot]@users.noreply.github.com'
151+ gh auth setup-git
152+
143153 - name : Download Release Assets and Generate Formula
144154 env :
145155 VERSION : ${{ needs.version.outputs.version }}
146- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
147156 run : |
148157 mkdir -p assets Formula
149158
@@ -237,12 +246,7 @@ jobs:
237246 if : ${{ github.event_name == 'release' && github.event.release.prerelease == false }}
238247 env :
239248 VERSION : ${{ needs.version.outputs.version }}
240- GH_TOKEN : ${{ secrets.GITHUB_TOKEN }}
241249 run : |
242- # Configure git
243- git config --global user.name 'github-actions[bot]'
244- git config --global user.email 'github-actions[bot]@users.noreply.github.com'
245-
246250 # Clone the homebrew-tap repository
247251 gh repo clone Optum/homebrew-tap homebrew-tap-repo
248252 cd homebrew-tap-repo
You can’t perform that action at this time.
0 commit comments