Files
kubescape/.github/workflows/close-typos-issues.yaml
T

19 lines
565 B
YAML

on:
issues:
types: [opened, labeled]
jobs:
build:
if: ${{ github.event.label.name == 'typo' }}
runs-on: ubuntu-latest
auto_close_issues:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Automatically close typo issues
uses: lucasbento/auto-close-issues@v1.0.2
with:
github-token: ${{ secrets.GITHUB_TOKEN }}
issue-close-message: "@${issue.user.login}: Hello! :wave:\n\nThis issue is being automatically closed, Please open a PR with a relevant fix."