Update kanban.yml
repository-projects: write is not needed because secrets.KANBAN_TOKEN is used
This commit is contained in:
5
.github/workflows/kanban.yml
vendored
5
.github/workflows/kanban.yml
vendored
@@ -2,15 +2,12 @@ name: Kanban management
|
||||
on:
|
||||
pull_request_target:
|
||||
types: [opened, reopened]
|
||||
permissions:
|
||||
contents: read
|
||||
permissions: {}
|
||||
env:
|
||||
MY_GITHUB_TOKEN: ${{ secrets.KANBAN_TOKEN }}
|
||||
|
||||
jobs:
|
||||
assign_one_project:
|
||||
permissions:
|
||||
repository-projects: write # for srggrs/assign-one-project-github-action to assign issues and PRs to repo project
|
||||
name: Add new pull requests to the kanban
|
||||
if: github.repository_owner == 'consul'
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user