fix fix workflow fix fix fix probably now... fix maybe probably, for sure
30 lines
791 B
YAML
30 lines
791 B
YAML
name: Notify Plugin Authors for Issues
|
|
|
|
on:
|
|
issues:
|
|
types: [opened]
|
|
workflow_dispatch:
|
|
inputs:
|
|
issue-number:
|
|
required: true
|
|
type: number
|
|
|
|
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: $/.github/workflows/setup/pygithub
|
|
|
|
- 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-notify-plugin-authors.py
|