Skip to content

fix(gui-plugins): support insecure file picker #406

fix(gui-plugins): support insecure file picker

fix(gui-plugins): support insecure file picker #406

name: triage-contributor

Check warning on line 1 in .github/workflows/triage-contributor.yml

View workflow run for this annotation

GitHub Actions / triage-contributor

Workflow execution policy warning (evaluate mode)

On December 2, 2026, GitHub will restrict `pull_request_target` on public repositories by default. To continue allowing the event trigger, configure an Actions policy. Learn more: https://gh.io/securely-using-pull_request_target#default-policy-for-pull_request_target
on:
pull_request_target:
types: [opened]
jobs:
add-contributor-label:
runs-on: ubuntu-latest
permissions:
pull-requests: write
issues: write
steps:
- name: Add Contributor Label
uses: actions/github-script@ed597411d8f924073f98dfc5c65a23a2325f34cd # v8.0.0
with:
script: |
if (context.payload.pull_request.author_association === 'CONTRIBUTOR') {
await github.rest.issues.addLabels({
owner: context.repo.owner,
repo: context.repo.repo,
issue_number: context.payload.pull_request.number,
labels: ['contributor']
});
}