mirror of
https://github.com/Zagrios/bs-manager.git
synced 2026-07-03 14:08:25 +02:00
Add labeler workflow for Linux issues
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
name: Labeler
|
||||
|
||||
on:
|
||||
issues:
|
||||
types: [opened, edited]
|
||||
|
||||
jobs:
|
||||
label-linux:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Add Linux label
|
||||
if: |
|
||||
contains(toLower(github.event.issue.title), 'linux') ||
|
||||
contains(toLower(github.event.issue.body), 'linux') ||
|
||||
contains(toLower(github.event.issue.title), 'ubuntu') ||
|
||||
contains(toLower(github.event.issue.body), 'ubuntu') ||
|
||||
contains(toLower(github.event.issue.title), 'arch') ||
|
||||
contains(toLower(github.event.issue.body), 'arch') ||
|
||||
contains(toLower(github.event.issue.title), 'kde') ||
|
||||
contains(toLower(github.event.issue.body), 'kde')
|
||||
uses: actions-ecosystem/action-add-labels@v1
|
||||
with:
|
||||
github_token: ${{ secrets.GH_TOKEN }}
|
||||
labels: linux
|
||||
Reference in New Issue
Block a user