Skip to content

fix: edge case where scan never completes #98

fix: edge case where scan never completes

fix: edge case where scan never completes #98

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']
})