-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add GitHub workflow closing newly opened issues and default issue tem…
…plate (#39) * Add workflow closing newly opened issues * Add default issue template
- Loading branch information
1 parent
7987149
commit a5cca04
Showing
2 changed files
with
36 additions
and
0 deletions.
There are no files selected for viewing
12 changes: 12 additions & 0 deletions
12
...ub/ISSUE_TEMPLATE/please--open-new-issues-in-membranefranework-membrane_core.md
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
--- | ||
name: Please, open new issues in membranefranework/membrane_core | ||
about: New issues related to this repo should be opened there | ||
title: "[DO NOT OPEN]" | ||
labels: '' | ||
assignees: '' | ||
|
||
--- | ||
|
||
Please, do not open this issue here. Open it in the [membrane_core](https://github.com/membraneframework/membrane_core) repository instead. | ||
|
||
Thanks for helping us grow :) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: 'Close issue when opened' | ||
on: | ||
issues: | ||
types: | ||
- opened | ||
jobs: | ||
close: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout membrane_core | ||
uses: actions/checkout@v3 | ||
with: | ||
repository: membraneframework/membrane_core | ||
- name: Create label if it not exists | ||
uses: ./.github/actions/create_label | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.MEMBRANEFRAMEWORKADMIN_TOKEN }} | ||
- name: Close issue | ||
uses: ./.github/actions/close_issue | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.MEMBRANEFRAMEWORKADMIN_TOKEN }} | ||
ISSUE_URL: ${{ github.event.issue.html_url }} | ||
ISSUE_NUMBER: ${{ github.event.issue.number }} | ||
REPOSITORY: ${{ github.repository }} |