From 7bfdcc9940c33bdfe6ddcc4da126cffa74763d0b Mon Sep 17 00:00:00 2001 From: Kathryn Baldauf Date: Thu, 16 Oct 2025 18:08:54 -0700 Subject: [PATCH] Revert "added the new workflow that automatically puts the labels in PR" (#776) Reverts apple/container#741 The action does not have permissions to add labels. Reverting this while we investigate the right fix @Ronitsabhaya75 heads up --- .github/labeler.yml | 10 ---------- .github/workflows/labeler.yml | 32 -------------------------------- 2 files changed, 42 deletions(-) delete mode 100644 .github/labeler.yml delete mode 100644 .github/workflows/labeler.yml diff --git a/.github/labeler.yml b/.github/labeler.yml deleted file mode 100644 index 79f403a9..00000000 --- a/.github/labeler.yml +++ /dev/null @@ -1,10 +0,0 @@ -# Configuration for automatic PR labeling based on file changes -# https://github.com/actions/labeler - -# CLI - Command Line Interface -"area: cli": - - changed-files: - - any-glob-to-any-file: - - 'Sources/CLI/**/*' - - 'Sources/ContainerCommands/**/*' - diff --git a/.github/workflows/labeler.yml b/.github/workflows/labeler.yml deleted file mode 100644 index 196df1ec..00000000 --- a/.github/workflows/labeler.yml +++ /dev/null @@ -1,32 +0,0 @@ -name: "Pull Request Labeler" - -on: - pull_request: - types: [opened] - -permissions: - contents: read - pull-requests: write - -jobs: - label: - name: Label Pull Request - if: github.repository == 'apple/container' - runs-on: ubuntu-latest - outputs: - labels-applied: ${{ steps.labeler.outputs.labels-applied }} - steps: - - name: Checkout repository - uses: actions/checkout@v4 - with: - token: ${{ secrets.GITHUB_TOKEN }} - - - name: Apply labels based on file changes - id: labeler - uses: actions/labeler@v5 - with: - repo-token: ${{ secrets.GITHUB_TOKEN }} - configuration-path: .github/labeler.yml - sync-labels: true - -