Skip to content

Labeler Actions Workflow #297

Labeler Actions Workflow

Labeler Actions Workflow #297

Workflow file for this run

name: "Pull Request Labeler"
on:
schedule:
- cron: "0 */12 * * *"
workflow_dispatch:
jobs:
add-topic-area-labels:
name: Add topic and area labels
runs-on: ubuntu-latest
steps:
- uses: fjeremic/[email protected]
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
add-kind-labels:
name: Add kind labels
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/github-script@v6
with:
script: |
const { default: assignLabelsToPRs } = await import('${{ github.workspace }}/.github/scripts/add-labels.js') ;
await assignLabelsToPRs({github, context})