Files
community-plugins/.github/workflows/issues-check-for-correct-plugin.yml
T
9b2179899b 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>
2026-07-30 09:17:54 -04:00

38 lines
1.1 KiB
YAML

name: Check for the correct plugin format in issues
on:
issues:
types: [opened]
workflow_dispatch:
inputs:
issue-number:
required: true
type: number
permissions:
contents: read
issues: write
jobs:
check-for-correct-plugin:
runs-on: ubuntu-latest
if: github.repository == 'noctalia-dev/community-plugins'
steps:
- uses: actions/checkout@v7
- uses: actions/setup-python@v7
with:
python-version: '3.14'
cache: 'pip'
cache-dependency-path: |
.github/workflows/scripts/PyGithub-requirement.txt
- name: Install dependencies
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_name == 'workflow_dispatch' && github.event.inputs.issue-number || github.event.issue.number }}
run: python3 .github/workflows/scripts/issues-check-for-correct-plugin.py