mirror of
https://github.com/typecho/typecho.git
synced 2025-04-21 02:01:52 +02:00
fix permission
This commit is contained in:
parent
8b4118a2ce
commit
2a1a692195
4
.github/workflows/Typecho-hotfix-Merge.yml
vendored
4
.github/workflows/Typecho-hotfix-Merge.yml
vendored
@ -12,6 +12,8 @@ jobs:
|
||||
auto-merge:
|
||||
if: github.event.action == 'closed' && github.event.pull_request.merged == true && startsWith(github.event.pull_request.head.ref, 'fix/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Merge to dev branch
|
||||
uses: devmasx/merge-branch@master
|
||||
@ -23,6 +25,8 @@ jobs:
|
||||
label-merge:
|
||||
if: github.event.action == 'labeled' && !startsWith(github.event.pull_request.head.ref, 'fix/')
|
||||
runs-on: ubuntu-latest
|
||||
permissions:
|
||||
contents: write
|
||||
steps:
|
||||
- name: Merge to dev branch
|
||||
uses: devmasx/merge-branch@master
|
||||
|
Loading…
x
Reference in New Issue
Block a user