Skip to content

Scheduling infrastructure for absolutely everyone.

fix: Permissions issue with team labeler (#12992)

Keith Williams4dba72fecbbc
diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml
index 0ed17ef62af..44978d72d6e 100644
--- a/.github/workflows/labeler.yml
+++ b/.github/workflows/labeler.yml
@@ -1,6 +1,7 @@
name: "Pull Request Labeler"
on:
- pull_request_target
+ - workflow_call
concurrency:
group: ${{ github.workflow }}-${{ github.event.pull_request.number || github.ref }}
cancel-in-progress: true
@@ -25,7 +26,7 @@ jobs:
- uses: actions/checkout@v2
- uses: equitybee/team-label-action@main
with:
- repo-token: ${{ secrets.GITHUB_TOKEN }}
+ repo-token: ${{ secrets.EQUITY_BEE_TEAM_LABELER_ACTION_TOKEN }}
organization-name: calcom
ignore-labels: "app-store, ai, authentication, automated-testing, platform, billing, bookings, caldav, calendar-apps, ci, console, crm-apps, docs, documentation, emails, embeds, event-types, i18n, impersonation, manual-testing, ui, performance, ops-stack, organizations, public-api, routing-forms, seats, teams, webhooks, workflows, zapier"
apply-labels-from-issue: