Skip to content

Commit

Permalink
feat(update): update
Browse files Browse the repository at this point in the history
update

Signed-off-by: ysicing <[email protected]>
  • Loading branch information
ysicing committed Jul 25, 2023
1 parent 8218ae8 commit e939985
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 0 deletions.
17 changes: 17 additions & 0 deletions .github/workflows/merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: BotAutoMerge

on: pull_request

permissions:
pull-requests: write
contents: write

jobs:
automerge:
runs-on: ubuntu-latest
if: github.actor == 'dependabot[bot]'
steps:
- uses: peter-evans/enable-pull-request-automerge@v3
with:
pull-request-number: ${{ github.event.pull_request.number }}
merge-method: rebase
7 changes: 7 additions & 0 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -100,6 +100,7 @@ jobs:
id: get-current-tag
uses: actions-ecosystem/[email protected]
- uses: peter-evans/create-pull-request@v5
id: cpr
with:
title: 'docs: updated CHANGELOG.md & docs for ${{steps.get-current-tag.outputs.tag }}'
commit-message: |
Expand All @@ -110,3 +111,9 @@ jobs:
labels: |
kind/doc
kind/bot
- name: Pull Request Automerge
if: steps.cpr.outputs.pull-request-operation == 'created'
uses: peter-evans/enable-pull-request-automerge@v3
with:
pull-request-number: ${{ steps.cpr.outputs.pull-request-number }}
merge-method: rebase

0 comments on commit e939985

Please sign in to comment.