From 1583897b937e817a0a744cf07e4551d9443eed19 Mon Sep 17 00:00:00 2001 From: rubyowo Date: Thu, 16 Mar 2023 22:01:09 +0400 Subject: [PATCH] ci: auto-label --- .github/labeler.yml | 24 ++++++++++++++++++++++++ .github/workflows/labeler.yml | 14 ++++++++++++++ 2 files changed, 38 insertions(+) create mode 100644 .github/labeler.yml create mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 0000000000..5a88d03e05 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,24 @@ +searxng: styles/SearXNG/**/* +anilist: styles/anilist/**/* +brave-search: styles/brave-search/**/* +codeberg: styles/codeberg/**/* +deepl: styles/deepl/**/* +elk: styles/elk/**/* +github: styles/github/**/* +hacker-news: styles/hacker-news/**/* +ichi.moe: styles/ichi.moe/**/* +invidious: styles/invidious/**/* +lastfm: styles/lastfm/**/* +libreddit: styles/libreddit/**/* +mastodon: styles/mastodon/**/* +modrinth: styles/modrinth/**/* +nitter: styles/nitter/**/* +nixos-search: styles/nixos-search/**/* +proton: styles/proton/**/* +reddit: styles/reddit/**/* +tutanota: styles/tutanota/**/* +twitch: styles/twitch/**/* +vercel: styles/vercel/**/* +wikiwand: styles/wikiwand/**/* +youtube: styles/youtube/**/* +youtubemusic: styles/youtubemusic/**/* diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml new file mode 100644 index 0000000000..c7f3fbcb57 --- /dev/null +++ b/.github/workflows/labeler.yml @@ -0,0 +1,14 @@ +name: Labeler +on: + pull_request: + types: [opened, synchronize] + +jobs: + auto-label: + name: Label + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: actions/labeler@v4.0.3 + env: + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}