Update kanban.yml

repository-projects: write is not needed because secrets.KANBAN_TOKEN is used
This commit is contained in:
Alex
2022-09-20 19:39:46 +01:00
committed by GitHub
parent 40886704bb
commit bb52adec37

View File

@@ -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