Update add-issues-to-review-project.yml
Signed-off-by: sashashura <93376818+sashashura@users.noreply.github.com>
This commit is contained in:
@@ -5,6 +5,9 @@ on:
|
|||||||
types:
|
types:
|
||||||
- opened
|
- opened
|
||||||
|
|
||||||
|
permissions:
|
||||||
|
contents: read
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
get-user-type:
|
get-user-type:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
@@ -43,6 +46,8 @@ jobs:
|
|||||||
core.setOutput("ignored", isIgnoredUser);
|
core.setOutput("ignored", isIgnoredUser);
|
||||||
console.log("Ignored is", isIgnoredUser);
|
console.log("Ignored is", isIgnoredUser);
|
||||||
add-to-project:
|
add-to-project:
|
||||||
|
permissions:
|
||||||
|
repository-projects: write # for actions/add-to-project
|
||||||
if: needs.get-user-type.outputs.ignored == 'false'
|
if: needs.get-user-type.outputs.ignored == 'false'
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
needs: [get-user-type]
|
needs: [get-user-type]
|
||||||
|
|||||||
Reference in New Issue
Block a user