Skip to content

Commit

Permalink
Add labeler workflow for Linux issues
Browse files Browse the repository at this point in the history
  • Loading branch information
Zagrios committed Sep 22, 2024
1 parent 15178f0 commit 96fc2b4
Showing 1 changed file with 24 additions and 0 deletions.
24 changes: 24 additions & 0 deletions .github/workflows/labeler.yaml
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 96fc2b4

Please sign in to comment.