Automatically close issues that are raised by people that belong to a specific organization
MIT License
Automatically close issues that are raised by people that belong to a specific organization
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
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 |