lgsm local mirror
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 

58 lines
1.5 KiB

name: Issue Labeler
on:
issues:
types:
- opened
- edited
pull_request:
types:
- opened
- edited
- synchronize
- reopened
permissions:
issues: write
pull-requests: write
contents: read
env:
FORCE_JAVASCRIPT_ACTIONS_TO_NODE24: "true"
jobs:
issue-labeler:
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'issues'
runs-on: ubuntu-latest
steps:
- name: Issue Labeler
uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
sync-labels: 1
pr-labeler:
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'pull_request'
runs-on: ubuntu-latest
steps:
- name: PR Labeler
uses: github/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
configuration-path: .github/labeler.yml
enable-versioned-regex: 0
include-title: 1
include-body: 0
sync-labels: 1
is-sponsor-label:
if: github.repository_owner == 'GameServerManagers' && github.event_name == 'issues'
runs-on: ubuntu-latest
steps:
- name: Is Sponsor Label
if: github.event.action == 'opened'
uses: JasonEtco/is-sponsor-label-action@v3
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}