Trying no auto flag

This commit is contained in:
a8trejo
2024-12-17 16:19:20 -08:00
parent c0c29b4879
commit 74a016338b

View File

@@ -69,7 +69,6 @@ jobs:
github.event.pull_request.base.ref == 'main' && github.event.pull_request.base.ref == 'main' &&
github.actor == 'R00-B0T' && github.actor == 'R00-B0T' &&
contains(github.event.pull_request.title, 'Changeset version bump') contains(github.event.pull_request.title, 'Changeset version bump')
steps: steps:
- name: Checkout Repo - name: Checkout Repo
uses: actions/checkout@v4 uses: actions/checkout@v4
@@ -77,15 +76,14 @@ jobs:
token: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }} token: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }}
fetch-depth: 0 fetch-depth: 0
ref: ${{ env.GIT_REF }} ref: ${{ env.GIT_REF }}
# Auto-approve PR # Auto-approve PR
- name: Auto approve PR - name: Auto approve PR
uses: hmarr/auto-approve-action@v4 uses: hmarr/auto-approve-action@v4
with: with:
review-message: "I'm approving since it's a bump version PR" review-message: "I'm approving since it's a bump version PR"
# Enable auto-merge for the PR # Auto-merge PR
- name: Enable automerge on PR - name: Automerge on PR
run: gh pr merge --merge --auto ${{ github.event.pull_request.number }} run: gh pr merge --merge ${{ github.event.pull_request.number }}
env: env:
GH_TOKEN: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }} GH_TOKEN: ${{ secrets.CROSS_REPO_ACCESS_TOKEN }}