ci: add merge and lock workflows
This commit is contained in:
15
.github/workflows/lock.yml
vendored
Normal file
15
.github/workflows/lock.yml
vendored
Normal file
@ -0,0 +1,15 @@
|
||||
name: lock pull-request
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- closed
|
||||
jobs:
|
||||
lock:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: lock pull request
|
||||
uses: sudo-bot/action-pull-request-lock@v1.0.5
|
||||
with:
|
||||
github-token: ${{ secrets.SUDO_BOT_TOKEN }}
|
||||
number: ${{ github.event.pull_request.number }}
|
||||
lock-reason: resolved
|
Reference in New Issue
Block a user