From fa1a605bb40d5dbac02a3a62f6ea4b9217850b15 Mon Sep 17 00:00:00 2001 From: Devon Carew Date: Thu, 20 Feb 2025 10:52:51 -0800 Subject: [PATCH] [infra] disable the issue triage bot Change-Id: I813ddb71ab617b640735fb0f4db98a43bd4f009e Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/410863 Commit-Queue: Devon Carew Reviewed-by: Konstantin Shcheglov --- .github/workflows/issue-triage.yml | 51 ------------------------------ 1 file changed, 51 deletions(-) delete mode 100644 .github/workflows/issue-triage.yml diff --git a/.github/workflows/issue-triage.yml b/.github/workflows/issue-triage.yml deleted file mode 100644 index c9505c8cdf2..00000000000 --- a/.github/workflows/issue-triage.yml +++ /dev/null @@ -1,51 +0,0 @@ -# A workflow to invoke a triage automation bot. -# -# For more information, see -# https://github.com/dart-lang/ecosystem/tree/main/pkgs/sdk_triage_bot and -# https://github.com/dart-lang/sdk/blob/main/docs/Triaging-Dart-SDK-issues.md. - -name: Triage Bot - -# Run when an issue is created. -on: - issues: - types: - - opened - -# All permissions not specified are set to 'none'. -permissions: - issues: write - -jobs: - triage_issues: - runs-on: ubuntu-latest - - # Don't fail the workflow if there's an error below (for example, if we - # have problems modifying an issue's labels) as that would send a failure - # email to the user who created the issue. - continue-on-error: true - - if: ${{ github.repository_owner == 'dart-lang' }} - - steps: - - uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 - with: - repository: dart-lang/ecosystem - - - uses: dart-lang/setup-dart@e630b99d28a3b71860378cafdc2a067c71107f94 - - - run: dart pub get - working-directory: pkgs/sdk_triage_bot - - # Delay 2 minutes to allow a grace period between opening or transferring - # an issue and assigning an area- label. - - name: sleep 2m - run: sleep 120 - - - name: triage issue - working-directory: pkgs/sdk_triage_bot - env: - ISSUE_URL: ${{ github.event.issue.html_url }} - GITHUB_TOKEN: ${{ secrets.DARTBOT_GITHUB_TOKEN }} - GOOGLE_API_KEY: ${{ secrets.GEMINI_API_KEY }} - run: dart bin/triage.dart $ISSUE_URL