mirror of
https://github.com/wailsapp/wails.git
synced 2026-03-14 22:55:48 +01:00
33 lines
867 B
YAML
33 lines
867 B
YAML
name: Auto Label Issues
|
|
|
|
on:
|
|
issues:
|
|
types: [opened, edited, reopened]
|
|
pull_request_target:
|
|
types: [opened, edited, reopened, synchronize]
|
|
|
|
jobs:
|
|
auto-label:
|
|
runs-on: ubuntu-latest
|
|
permissions:
|
|
issues: write
|
|
pull-requests: write
|
|
contents: read
|
|
steps:
|
|
- name: Checkout repository
|
|
uses: actions/checkout@v3
|
|
|
|
- name: Label issues and PRs by content
|
|
uses: github/issue-labeler@v3.4
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: .github/issue-labeler.yml
|
|
enable-versioned-regex: 0
|
|
include-title: 1
|
|
|
|
- name: Label issues and PRs by file paths
|
|
uses: actions/labeler@v4
|
|
with:
|
|
repo-token: "${{ secrets.GITHUB_TOKEN }}"
|
|
configuration-path: .github/file-labeler.yml
|
|
sync-labels: true
|