@@ -135,7 +135,8 @@ jobs:
135
135
runs-on : macos-14
136
136
needs : [start, prepare-release]
137
137
steps :
138
- - uses : actions/checkout@v4
138
+ - name : 📺 Checkout mas repo
139
+ uses : actions/checkout@v4
139
140
with :
140
141
# A fetch-depth of 0 includes all history and tags for script/version
141
142
fetch-depth : 0
@@ -145,9 +146,19 @@ jobs:
145
146
run : |
146
147
script/bootstrap -f
147
148
149
+ - name : 🔧 Configure Git Credentials
150
+ run : |
151
+ git config user.name 'github-actions[bot]'
152
+ git config user.email '41898282+github-actions[bot]@users.noreply.github.com'
153
+
154
+ - name : 🚰 Checkout mas tap
155
+ uses : actions/checkout@v4
156
+ with :
157
+ ref : ${{ needs.start.outputs.release_branch }}
158
+
148
159
- name : ⤴️ Open mas tap PR
149
160
env :
150
- GH_TOKEN : ${{ github.token }}
161
+ GITHUB_TOKEN : ${{ secrets.DEPLOY_TOKEN }}
151
162
DRY_RUN : ${{ needs.start.outputs.dry_run }}
152
163
RELEASE_BRANCH : ${{ needs.start.outputs.release_branch }}
153
164
MAS_VERSION : ${{ needs.start.outputs.mas_version }}
@@ -164,7 +175,9 @@ jobs:
164
175
git add Formula/mas.rb
165
176
git commit --message="🔖 Version ${MAS_VERSION}"
166
177
167
- git push --set-upstream origin "${RELEASE_BRANCH}"
178
+ git push \
179
+ --set-upstream origin "${RELEASE_BRANCH}"
180
+
168
181
gh pr create \
169
182
--assignee phatblat \
170
183
--base main \
0 commit comments