Skip to content

Swap yaml-lint for mega-linter #5

Swap yaml-lint for mega-linter

Swap yaml-lint for mega-linter #5

Workflow file for this run

---
# yaml-language-server: $schema=https://raw.githubusercontent.com/softprops/github-actions-schemas/master/workflow.json
name: "Meta Labeler"
on:
workflow_dispatch:
pull_request:
branches: ["main", "master"]
jobs:
labeler:
name: Labeler
runs-on: ubuntu-latest
steps:
- name: Generate Token
uses: tibdex/github-app-token@b62528385c34dbc9f38e5f4225ac829252d1ea92 # v1.8.0
id: generate-token
with:
app_id: "${{ secrets.BOT_APP_ID }}"
private_key: "${{ secrets.BOT_APP_PRIVATE_KEY }}"
- name: Labeler
uses: actions/labeler@ba790c862c380240c6d5e7427be5ace9a05c754b # v4.0.3
with:
configuration-path: .github/labeler.yaml
repo-token: "${{ steps.generate-token.outputs.token }}"