feat(workflow): Multiple fixes in one (#160)
* fix(workflow): Re-organized the workflow, put the scripts in their own scripts folder * fix(workflow): Fixed so that we have a default SELECT selection in the issue templates * fix(workflow): Added a way to run the issue workflows manually as well * feat(workflow): Added workflow for closing issues with no selected plugin * fix(workflow): Changed so that we only use one file for jobs that only care about the plugin folders * fix(workflows): resolve repository root after script move --------- Co-authored-by: Lemmy <studio@quadbyte.net>
This commit is contained in:
co-authored by
Lemmy
parent
68d904fcea
commit
9b2179899b
@@ -3,6 +3,11 @@ name: Notify Plugin Authors for Issues
|
||||
on:
|
||||
issues:
|
||||
types: [opened]
|
||||
workflow_dispatch:
|
||||
inputs:
|
||||
issue-number:
|
||||
required: true
|
||||
type: number
|
||||
|
||||
permissions:
|
||||
contents: read
|
||||
@@ -19,14 +24,14 @@ jobs:
|
||||
python-version: '3.14'
|
||||
cache: 'pip'
|
||||
cache-dependency-path: |
|
||||
.github/workflows/notify-plugin-authors-requirements.txt
|
||||
.github/workflows/scripts/PyGithub-requirement.txt
|
||||
|
||||
- name: Install dependencies
|
||||
run: pip install -r .github/workflows/notify-plugin-authors-requirements.txt
|
||||
run: pip install -r .github/workflows/scripts/PyGithub-requirement.txt
|
||||
|
||||
- name: Notify Authors
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
REPOSITORY: ${{ github.repository }}
|
||||
ISSUE_NUMBER: ${{ github.event.issue.number }}
|
||||
run: python3 .github/workflows/issues-notify-plugin-authors.py
|
||||
ISSUE_NUMBER: ${{ github.event_name == 'workflow_dispatch' && github.event.inputs.issue-number || github.event.issue.number }}
|
||||
run: python3 .github/workflows/scripts/issues-notify-plugin-authors.py
|
||||
|
||||
Reference in New Issue
Block a user