Skip to content

Automatically close issues that are raised by people that belong to a specific organization

License

Notifications You must be signed in to change notification settings

mheap/auto-close-org-issues-action

Use this GitHub action with your project
Add this Action to an existing workflow or create a new one
View on Marketplace

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Auto Close Org Issues

Automatically close issues that are raised by people that belong to a specific organization

Usage

name: Auto Close Org Issues
on:
  issues:
    types: [opened, reopened]

jobs:
  auto-close-org-issues:
    name: Auto Close Org Issues
    runs-on: ubuntu-latest
    steps:
      - name: Auto Close Org Issues
        uses: mheap/auto-close-org-issues-action@main
        with:
          token: ${{ secrets.PAT }}
          org: YOUR_ORG_NAME
          message: Thanks for raising an issue! For YOUR_ORG_NAME employees, we track issues in the ABC Jira project
          keep_open: team-a,team-b

Available Configuration

Inputs

Name Description Required Default
token A GitHub API token that has permission to list org membership true
org The org to auto-close issues from true
message The comment to add when auto-closing an issue true
keep_open If the issue has any of these labels, keep it open (comma-separated) false

About

Automatically close issues that are raised by people that belong to a specific organization

Resources

License

Stars

Watchers

Forks

Packages

No packages published