build(deps-dev): bump oclif from 4.0.0 to 4.0.2 #440
Workflow file for this run
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: automerge-nightly-pr | |
on: | |
pull_request: | |
types: [labeled] | |
# This job relies on defining required checks in your branch protection settings | |
# Settings > Branches > 'main' > Require status checks to pass before merging | |
jobs: | |
automerge: | |
runs-on: ubuntu-latest | |
if: startsWith(github.event.pull_request.title, 'Release PR for') && endsWith(github.event.pull_request.title, 'nightly') | |
steps: | |
- name: Install plugin-release-management | |
run: npm install -g @salesforce/plugin-release-management --omit=dev | |
- name: Automerge | |
uses: nick-fields/retry@943e742917ac94714d2f408a0e8320f2d1fcafcd | |
with: | |
max_attempts: 30 | |
retry_wait_seconds: 120 # 30 attempts every two minutes | |
command: sf-release cli:release:automerge --owner salesforcecli --repo cli --pull-number ${{ github.event.pull_request.number }} --verbose | |
retry_on: error | |
timeout_minutes: 60 | |
env: | |
GITHUB_TOKEN: ${{ secrets.SVC_CLI_BOT_GITHUB_TOKEN }} |