Skip to content

Commit

Permalink
Add GitHub workflow closing newly opened issues and default issue tem…
Browse files Browse the repository at this point in the history
…plate (#15)

* Add workflow closing newly opened issues

* Add default issue template
  • Loading branch information
FelonEkonom authored Oct 18, 2023
1 parent 4d86362 commit fa3cb9f
Show file tree
Hide file tree
Showing 2 changed files with 36 additions and 0 deletions.
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 :)
24 changes: 24 additions & 0 deletions .github/workflows/on_issue_opened.yaml
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 }}

0 comments on commit fa3cb9f

Please sign in to comment.