Skip to content

Commit

Permalink
Add workflow closing newly opened issues (#92)
Browse files Browse the repository at this point in the history
  • Loading branch information
FelonEkonom committed Oct 17, 2023
1 parent 31f19d9 commit 663ee94
Showing 1 changed file with 24 additions and 0 deletions.
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 663ee94

Please sign in to comment.