Skip to content

ci: create codeowners file #95

ci: create codeowners file

ci: create codeowners file #95

Workflow file for this run

name: PR Labels
on:
pull_request_target:
types: [opened]
jobs:
mark_as_community:
runs-on: ubuntu-latest
permissions:
pull-requests: write
steps:
- name: Mark as Community if PR is from a fork
if: github.event.pull_request.head.repo.full_name != github.repository
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: ['Community']
})