Skip to content

Bump gitpython from 3.1.37 to 3.1.41 in /scripts/ci (#11806) #1

Bump gitpython from 3.1.37 to 3.1.41 in /scripts/ci (#11806)

Bump gitpython from 3.1.37 to 3.1.41 in /scripts/ci (#11806) #1

name: "Issue Labeling"
on:g

Check failure on line 2 in .github/workflows/issue_labeler.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/issue_labeler.yaml

Invalid workflow file

You have an error in your yaml syntax on line 2
issues:
types: [opened, edited]
permissions:
contents: read
issues: write
jobs:
label-issue:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
script: |
if (context.payload.issue.title.toLowerCase().includes("mrtk3") ||
context.payload.issue.body.toLowerCase().includes("mrtk3"))
{
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['MRTK3']
})
}
if (context.payload.issue.title.toLowerCase().includes("mrtk2") ||
context.payload.issue.body.toLowerCase().includes("mrtk2"))
{
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['MRTK2']
})
}