Skip to content

Commit 7b18c26

Browse files
committed
Updated automatic issue action
1 parent 7837eb2 commit 7b18c26

File tree

5 files changed

+7
-152
lines changed

5 files changed

+7
-152
lines changed

.github/ISSUE_TEMPLATE/ask_a_question.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- TEMPLATE -->
12
---
23
name: Ask a question
34
about: Ask a question about this project (read docs before asking)

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- TEMPLATE -->
12
---
23
name: Bug report
34
about: Create a report to help us improve

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
<!-- TEMPLATE -->
12
---
23
name: Feature request
34
about: Suggest an idea for this project

.github/workflows/issues.py

Lines changed: 0 additions & 137 deletions
This file was deleted.

.github/workflows/issues.yml

Lines changed: 4 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@ on:
55
types: [opened]
66

77
jobs:
8-
98
automated-issue:
109
runs-on: ubuntu-latest
1110

@@ -15,18 +14,8 @@ jobs:
1514
uses: actions/checkout@v5
1615

1716
# SetUp python
18-
- name: SetUp Python
19-
uses: actions/setup-python@v5
17+
- name: Issue Automation
18+
uses: Dtar380/AutomaticIssue@v1.0.0
2019
with:
21-
python-version: '3.13'
22-
23-
# Install requirements
24-
- name: Install Requirements
25-
run: pip install requests
26-
27-
# Runs a single command using the runners shell
28-
- name: Automate Issue
29-
env:
30-
API_KEY: ${{ secrets.GH_API_TOKEN }}
31-
REPO: ${{ github.repository }}
32-
run: python .github/workflows/issues.py
20+
token: ${{ secrets.GH_API_TOKEN }}
21+
repo: ${{ github.repository }}

0 commit comments

Comments
 (0)