File tree 1 file changed +19
-0
lines changed
1 file changed +19
-0
lines changed Original file line number Diff line number Diff line change @@ -189,6 +189,25 @@ jobs:
189
189
GITHUB_TOKEN : ${{ secrets.OS_BOTIFY_TOKEN }}
190
190
PULL_REQUEST : ${{ steps.createPullRequest.outputs.pr_number }}
191
191
192
+ # Create a local git tag on staging so that GitUtils.getPullRequestsMergedBetween can use `git log` to generate a
193
+ # list of pull requests that were merged between this version tag and another.
194
+ # NOTE: This tag is only used locally and shouldn't be pushed to the remote.
195
+ # If it was pushed, that would trigger the staging deploy which is handled in a separate workflow (deploy.yml)
196
+ - name : Tag staging
197
+ if : ${{ github.actor != 'OSBotify' }}
198
+ run : |
199
+ git checkout staging
200
+ git pull origin staging
201
+ git tag ${{ env.NEW_VERSION }}
202
+
203
+ # Note: we only run this action if the PR was manually CP'd. Otherwise, the deploy checklist is updated from preDeploy.yml
204
+ - name : Update StagingDeployCash
205
+ if : ${{ github.actor != 'OSBotify' }}
206
+ uses : Expensify/App/.github/actions/createOrUpdateStagingDeploy@main
207
+ with :
208
+ GITHUB_TOKEN : ${{ secrets.OS_BOTIFY_TOKEN }}
209
+ NPM_VERSION : ${{ env.NEW_VERSION }}
210
+
192
211
- name : ' Announces a CP failure in the #announce Slack room'
193
212
uses : 8398a7/action-slack@v3
194
213
if : ${{ failure() }}
You can’t perform that action at this time.
0 commit comments