Skip to content

Commit 6542118

Browse files
authored
Add GitHub workflow closing newly opened issues and default issue template (#16)
* Add workflow closing newly opened issues * Add default issue template
1 parent 83f9362 commit 6542118

File tree

2 files changed

+36
-0
lines changed

2 files changed

+36
-0
lines changed
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
---
2+
name: Please, open new issues in membranefranework/membrane_core
3+
about: New issues related to this repo should be opened there
4+
title: "[DO NOT OPEN]"
5+
labels: ''
6+
assignees: ''
7+
8+
---
9+
10+
Please, do not open this issue here. Open it in the [membrane_core](https://github.com/membraneframework/membrane_core) repository instead.
11+
12+
Thanks for helping us grow :)
Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
name: 'Close issue when opened'
2+
on:
3+
issues:
4+
types:
5+
- opened
6+
jobs:
7+
close:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- name: Checkout membrane_core
11+
uses: actions/checkout@v3
12+
with:
13+
repository: membraneframework/membrane_core
14+
- name: Create label if it not exists
15+
uses: ./.github/actions/create_label
16+
with:
17+
GITHUB_TOKEN: ${{ secrets.MEMBRANEFRAMEWORKADMIN_TOKEN }}
18+
- name: Close issue
19+
uses: ./.github/actions/close_issue
20+
with:
21+
GITHUB_TOKEN: ${{ secrets.MEMBRANEFRAMEWORKADMIN_TOKEN }}
22+
ISSUE_URL: ${{ github.event.issue.html_url }}
23+
ISSUE_NUMBER: ${{ github.event.issue.number }}
24+
REPOSITORY: ${{ github.repository }}

0 commit comments

Comments
 (0)