Skip to content

Auto Label Issue

Auto Label Issue #4

name: Add GSSOC Label
on:
issues:
types: [opened]
jobs:
add-label:
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{secrets.GITHUB_TOKEN}}
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["gssoc"]
})