Skip to content

Three problems

Three problems #9

Workflow file for this run

name: Lockdown
on:
issues:
types: [opened]
issue_comment:
types: [created]
jobs:
closeAndlock:
runs-on: ubuntu-latest
permissions:
issues: write
pull-requests: write
steps:
- name: Close & Lock Issue
run: |
gh issue close --reason "not planned" ${{ github.event.issue.number }}
gh issue lock --reason "spam" ${{ github.event.issue.number }}
env:
GH_REPO: ${{ github.repository }}
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}