mirror of
https://github.com/kubevela/kubevela.git
synced 2026-02-14 18:10:21 +00:00
Fix: issue command permission error (#6071)
This commit is contained in:
8
.github/workflows/issue-commands.yml
vendored
8
.github/workflows/issue-commands.yml
vendored
@@ -1,4 +1,4 @@
|
||||
name: Run commands for issues and pull requetss
|
||||
name: Run commands for issues and pull requests
|
||||
on:
|
||||
issues:
|
||||
types: [labeled, opened]
|
||||
@@ -11,6 +11,9 @@ permissions:
|
||||
jobs:
|
||||
bot:
|
||||
runs-on: ubuntu-22.04
|
||||
permissions:
|
||||
pull-requests: write
|
||||
issues: write
|
||||
steps:
|
||||
- name: Checkout Actions
|
||||
uses: actions/checkout@8e5e7e5ab8b370d6c329ec480221332ada57f0ab
|
||||
@@ -29,7 +32,7 @@ jobs:
|
||||
- name: Run Commands
|
||||
uses: ./actions/commands
|
||||
with:
|
||||
token: ${{secrets.VELA_BOT_TOKEN}}
|
||||
token: ${{ secrets.GITHUB_TOKEN }}
|
||||
configPath: issue-commands
|
||||
|
||||
backport:
|
||||
@@ -86,7 +89,6 @@ jobs:
|
||||
if: github.event.issue.pull_request && contains(github.event.comment.body, '/retest')
|
||||
permissions:
|
||||
actions: write
|
||||
contents: write
|
||||
pull-requests: write
|
||||
issues: write
|
||||
steps:
|
||||
|
||||
Reference in New Issue
Block a user