haasillytavern / .github /workflows /on-open-handler.yml
Haay's picture
Upload 926 files
519a20c verified
raw
history blame contribute delete
801 Bytes
name: πŸ“¨ Issues/PRs Open Handler
on:
issues:
types: [opened]
pull_request_target:
types: [opened]
permissions:
contents: read
issues: write
pull-requests: write
jobs:
label-maintainer:
name: 🏷️ Label if Author is a Repo Maintainer
runs-on: ubuntu-latest
if: contains(fromJson('["Cohee1207", "RossAscends", "Wolfsblvt"]'), github.actor)
steps:
- name: Label if Author is a Repo Maintainer
# πŸ€– Issues Helper
# https://github.com/marketplace/actions/issues-helper
uses: actions-cool/[email protected]
with:
actions: 'add-labels'
token: ${{ secrets.GITHUB_TOKEN }}
issue-number: ${{ github.event.issue.number || github.event.pull_request.number }}
labels: 'πŸ‘· Maintainer'