Skip to content

A free and open source instant messaging and VoIP chat app built for friends, groups, and communities.

TypeScript fluxerfluxerapp

ci: add @actions/labeler (#1127)

Jiralite2800191a94d5
diff --git a/.github/labeller.yaml b/.github/labeller.yaml
new file mode 100644
index 000000000..837ce344a
--- /dev/null
+++ b/.github/labeller.yaml
@@ -0,0 +1,99 @@
+f:admin:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_admin/**/*
+f:api:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_api/**/*
+f:app:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_app/**/*
+f:app_proxy:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_app_proxy/**/*
+f:common:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_common/**/*
+f:desktop:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_desktop/**/*
+f:docs:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_docs/**/*
+f:gateway:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_gateway/**/*
+f:marketing:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_marketing/**/*
+f:media_proxy:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_media_proxy/**/*
+f:messages:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_messages/**/*
+f:snowflakes:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_snowflakes/**/*
+f:static:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_static/**/*
+f:svc:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_svc/**/*
+f:unfurl:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_unfurl/**/*
+f:users:
+ - changed-files:
+ - any-glob-to-any-file: fluxer_users/**/*
+p:config:
+ - changed-files:
+ - any-glob-to-any-file: packages/config/**/*
+p:constants:
+ - changed-files:
+ - any-glob-to-any-file: packages/constants/**/*
+p:date-utils:
+ - changed-files:
+ - any-glob-to-any-file: packages/date_utils/**/*
+p:errors:
+ - changed-files:
+ - any-glob-to-any-file: packages/errors/**/*
+p:geo-utils:
+ - changed-files:
+ - any-glob-to-any-file: packages/geo_utils/**/*
+p:hono:
+ - changed-files:
+ - any-glob-to-any-file: packages/hono/**/*
+p:hono-types:
+ - changed-files:
+ - any-glob-to-any-file: packages/hono_types/**/*
+p:i18n:
+ - changed-files:
+ - any-glob-to-any-file: packages/i18n/**/*
+p:instance-bootstrap:
+ - changed-files:
+ - any-glob-to-any-file: packages/instance_bootstrap/**/*
+p:ip-utils:
+ - changed-files:
+ - any-glob-to-any-file: packages/ip_utils/**/*
+p:limits:
+ - changed-files:
+ - any-glob-to-any-file: packages/limits/**/*
+p:logger:
+ - changed-files:
+ - any-glob-to-any-file: packages/logger/**/*
+p:markdown-parser:
+ - changed-files:
+ - any-glob-to-any-file: packages/markdown_parser/**/*
+p:openapi:
+ - changed-files:
+ - any-glob-to-any-file: packages/openapi/**/*
+p:schema:
+ - changed-files:
+ - any-glob-to-any-file: packages/schema/**/*
+p:snowflake:
+ - changed-files:
+ - any-glob-to-any-file: packages/snowflake/**/*
+p:voice-engine-v2:
+ - changed-files:
+ - any-glob-to-any-file: packages/voice_engine_v2/**/*
diff --git a/.github/workflows/labeller.yaml b/.github/workflows/labeller.yaml
new file mode 100644
index 000000000..4df36b4af
--- /dev/null
+++ b/.github/workflows/labeller.yaml
@@ -0,0 +1,25 @@
+name: Triage pull request
+on:
+ pull_request_target:
+permissions: {}
+jobs:
+ label:
+ name: Label
+ runs-on: ubuntu-latest
+ steps:
+ - name: Create token
+ id: create-token
+ uses: actions/create-github-app-token@bcd2ba49218906704ab6c1aa796996da409d3eb1
+ with:
+ client-id: ${{ vars.APPLICATION_ID }}
+ private-key: ${{ secrets.APP_PRIVATE_KEY }}
+ owner: fluxerapp
+ repositories: fluxer
+ permission-pull-requests: write
+
+ - name: Label pull request
+ uses: actions/labeler@e52e4fb63ed5cd0e07abaad9826b2a893ccb921f
+ with:
+ repo-token: ${{ steps.create-token.outputs.token }}
+ configuration-path: .github/labeller.yaml
+ sync-labels: true