mirror of
https://github.com/apple/container.git
synced 2026-07-15 14:07:04 +00:00
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:
@@ -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/**/*'
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user