oss-gate / issue-cleaner

A GitHub Actions for cleaning issues of OSS Gate Workshop repository

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OSS Gate Issue Cleaner

A GitHub Actions for cleaning issues of OSS Gate Workshop repository

Usage

Write a workflow file as follows at .github/workflow/issue.yaml in your repository.

Clean all event issues by manual trigger

on: [workflow_dispatch]

jobs:
  clean:
    runs-on: ubuntu-latest

    steps:
      - uses: oss-gate/issue-cleaner@v3
        with:
          DOORKEEPER_GROUP: oss-gate
          CONNPASS_KEYWORD: oss gate
        env:
          DOORKEEPER_TOKEN: ${{ secrets.DOORKEEPER_TOKEN }}

Clean one person event issues when PR opened

on:
  push:
    paths:
      - "tutorial/retrospectives/**/*.yaml"

jobs:
  clean:
    runs-on: ubuntu-latest

    steps:
      - uses: oss-gate/issue-cleaner@v3
        with:
          DOORKEEPER_GROUP: oss-gate
          CONNPASS_KEYWORD: oss gate
          author: ${{ github.event.sender.login }}
        env:
          DOORKEEPER_TOKEN: ${{ secrets.DOORKEEPER_TOKEN }}

Release flow

Using technote-space/release-github-actions.

Contributing

If you have suggestions for how oss-gate-issue-cleaner could be improved, or want to report a bug, open an issue! We'd love all and any contributions.

For more, check out the Contributing Guide.

License

ISC © 2020 OSS Gate

About

A GitHub Actions for cleaning issues of OSS Gate Workshop repository

License:ISC License


Languages

Language:TypeScript 92.7%Language:Mustache 6.3%Language:JavaScript 1.0%