chore: synced file(s) with orange-cloudavenue/workflows (#926) #9
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Labeler | |
# Labeler manage labels on your GitHub repository based on a YAML file. | |
on: | |
push: | |
branches: | |
- 'main' | |
paths: | |
- '.github/labels.yml' | |
- '.github/workflows/labeler.yml' | |
pull_request: | |
paths: | |
- '.github/labels.yml' | |
- '.github/workflows/labeler.yml' | |
jobs: | |
labeler: | |
runs-on: ubuntu-latest | |
permissions: | |
contents: read | |
issues: write | |
steps: | |
- | |
name: Checkout | |
uses: actions/checkout@v4 | |
- | |
name: Run Labeler | |
uses: crazy-max/ghaction-github-labeler@v5 | |
with: | |
github-token: ${{ secrets.GITHUB_TOKEN }} | |
yaml-file: .github/labels.yml | |
dry-run: ${{ github.event_name == 'pull_request' }} | |
exclude: | | |
help* | |
*issue |