Skip to content

Commit 276e281

Browse files
authored
Update verifyChangelogV3.yaml
1 parent a50265f commit 276e281

1 file changed

Lines changed: 16 additions & 0 deletions

File tree

.github/workflows/verifyChangelogV3.yaml

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -114,3 +114,19 @@ jobs:
114114
115115
core.setFailed("CHANGELOG.md must be updated.");
116116
}
117+
118+
auto-merge-ignore:
119+
needs: analyze-pr
120+
runs-on: ubuntu-latest
121+
if: needs.analyze-pr.outputs.onlyIgnored == 'true' && github.event_name == 'pull_request'
122+
123+
steps:
124+
- name: Auto approve PR
125+
run: gh pr review ${{ github.event.pull_request.number }} --approve
126+
env:
127+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
128+
129+
- name: Enable auto merge
130+
run: gh pr merge ${{ github.event.pull_request.number }} --auto --merge
131+
env:
132+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}

0 commit comments

Comments
 (0)