Skip to content

Adjust repository settings #981

Adjust repository settings

Adjust repository settings #981

Workflow file for this run

name: "Pull Request Labeler"
on:
- pull_request_target
jobs:
triage:
permissions:
contents: read
pull-requests: write
runs-on: ubuntu-latest
steps:
- name: Apply branch labels
uses: actions/[email protected]
- name: Apply label based on author
if: |
contains('["jrgemignani", "dehowef", "eyab" "rafsun42", "Zainab-Saad", "MuhammadTahaNaveed"]', github.event.pull_request.user.login)
uses: actions/github-script@v7
with:
script: |
const labelsToAdd = ['override-stale'];
github.rest.issues.addLabels({
issue_number: context.issue.number,
owner: context.repo.owner,
repo: context.repo.repo,
labels: labelsToAdd
});