Skip to content

Commit

Permalink
Add weekly issue automation and add "Triage" label to new issues (#73)
Browse files Browse the repository at this point in the history
* Add a workflow to collect issues daily and generate a CSV report

* Add PR trigger for testing

* Troubleshoot output file path for upload

* Update schedule to ~9AM Pacific

* Add `triage` label to new issues

* Update to run only on Mondays

* Enable pip caching per review

---------

Co-authored-by: Daniel McKnight <[email protected]>
  • Loading branch information
NeonDaniel and NeonDaniel authored May 15, 2024
1 parent 5c5fe81 commit c124d07
Show file tree
Hide file tree
Showing 3 changed files with 38 additions and 0 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/bug_report.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description: Report a bug
title: "[BUG] "
labels:
- bug
- triage
body:
- type: textarea
id: description
Expand Down
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/feature_request.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ description: Request a new feature
title: "[FEAT] "
labels:
- enhancement
- triage
body:
- type: textarea
id: objective
Expand Down
36 changes: 36 additions & 0 deletions .github/workflows/get_issues.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
name: Get Organization Issues
on:
schedule:
- cron: '0 16 * * 1'
workflow_dispatch:
pull_request:
jobs:
get_issues:
timeout-minutes: 15
runs-on: ubuntu-latest
steps:
- name: Checkout Issue Tracker Repository
uses: actions/checkout@v4
with:
path: action/issue_tracker/
repository: mikejgray/github-issue-tracker
- name: Set up python 3.11
uses: actions/setup-python@v5
with:
python-version: 3.11
cache: pip
- name: Install Issue Tracker
run: |
python -m pip install action/issue_tracker
- name: Get Issues
run: |
python action/issue_tracker/github_issue_tracker/main.py
env:
CSV_FILENAME: /tmp/issues.csv
GH_ORGANIZATION: NeonGeckoCom
GH_TOKEN: ${{ github.token }}
- name: Upload results
uses: actions/upload-artifact@v4
with:
name: Open Issues
path: /tmp/issues.csv

0 comments on commit c124d07

Please sign in to comment.