Skip to content

please update action to nodejs20 #8

please update action to nodejs20

please update action to nodejs20 #8

name: Check User Permission
on:
issues:
types: [opened, edited]
jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions-cool/check-user-permission@main
id: checkUser
with:
require: 'write'
- name: close
if: steps.checkUser.outputs.check-result == 'false'
uses: actions-cool/[email protected]
with:
actions: 'close-issue'
issue-number: ${{ github.event.issue.number }}