Skip to content

A GitHub Actions for cleaning issues of OSS Gate Workshop repository

License

Notifications You must be signed in to change notification settings

oss-gate/issue-cleaner

Repository files navigation

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