* feat(workflow): Added notify-plugin-authors for issues fix(workflow): Should be run correctly now fix(workflow): Added reopened fix(workflow): Removed cache fix(workflow): Added a lot, hope this works fix(workflow): Increment the i fix(workflow): Maybe? debug print cwd fix: Maybe now works? fix: maybe fix: For sure now fix: Some last fixes before it's done fix: Now the workflow adds a comment fix: Format A lot of commits in this one squashed together * fix(workflow): Do not use the provided plugin author name since that can be custom written and be another persons name * fix(workflow): Added propare caching so that we don't reinstall the dependencies everytime * fix(workflow): Added check for errors that have a very small chance to happen. * fix(workflow): Fixed some of the 'bugs', it should be fine now with better error handling * fix(workflow): Added correct guards for the workflow file * fix(workflow): Changed the name so that it can be used in the other workflow as well. * fix(workflow): skip quietly on unparseable plugin field, accept bare plugin name --------- Co-authored-by: Lemmy <studio@quadbyte.net>
33 lines
890 B
YAML
33 lines
890 B
YAML
name: Notify Plugin Authors for Issues
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
|
|
permissions:
|
|
contents: read
|
|
issues: write
|
|
|
|
jobs:
|
|
notify-plugin-authors:
|
|
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/notify-plugin-authors-requirements.txt
|
|
|
|
- name: Install dependencies
|
|
run: pip install -r .github/workflows/notify-plugin-authors-requirements.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
|