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:
|
on:
|
||||||
pull_request_target:
|
pull_request_target:
|
||||||
types: [opened, reopened]
|
types: [opened, reopened]
|
||||||
permissions:
|
permissions: {}
|
||||||
contents: read
|
|
||||||
env:
|
env:
|
||||||
MY_GITHUB_TOKEN: ${{ secrets.KANBAN_TOKEN }}
|
MY_GITHUB_TOKEN: ${{ secrets.KANBAN_TOKEN }}
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
assign_one_project:
|
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
|
name: Add new pull requests to the kanban
|
||||||
if: github.repository_owner == 'consul'
|
if: github.repository_owner == 'consul'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|||||||
Reference in New Issue
Block a user