Commit bb35f36f authored by Meenakshi Sharma's avatar Meenakshi Sharma Committed by GitHub
Browse files

ci: Add External Contribution label (#322)

parent 00e54337
......@@ -45,3 +45,19 @@ jobs:
'Your PR reviewers may elect to test the changes comprehensively before approving your changes.\n\n' +
'🚀'
})
- name: Adding Label to PR
uses: actions/github-script@v7
env:
REPOSITORY: ${{ github.repository }}
CONTRIBUTOR: ${{ github.actor }}
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
script: |
const { REPOSITORY, CONTRIBUTOR } = process.env
github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.issue.number,
labels: ["external-contribution"]
});
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment