Skip to content

[ADD] Core functionality added. #42

[ADD] Core functionality added.

[ADD] Core functionality added. #42

Workflow file for this run

# This workflow will triage pull requests and apply a label based on the
# paths that are modified in the pull request.
#
# To use this workflow, you will need to set up a .github/labeler.yml
# file with configuration. For more information, see:
# https://github.com/actions/labeler
name: Babu Chipkae
on:
pull_request:
branches:
- '**'
issues:
types:
- reopened
- opened
jobs:
label:
runs-on: ubuntu-latest
permissions: write-all
steps:
- uses: actions/labeler@v5
with:
repo-token: "${{ secrets.GITHUB_TOKEN }}"
# add a triage label to newly created issues.
label_issues:
runs-on: ubuntu-latest
permissions:
issues: write
steps:
- uses: actions/github-script@v7
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ["triage"]
})