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
This commit is contained in:
Kathryn Baldauf
2025-10-16 18:08:54 -07:00
committed by GitHub
parent f49059fb7b
commit 7bfdcc9940
2 changed files with 0 additions and 42 deletions
-10
View File
@@ -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/**/*'
-32
View File
@@ -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