Skip to content

ci: Add permissions to write security events for the SBOM scan. #141

ci: Add permissions to write security events for the SBOM scan.

ci: Add permissions to write security events for the SBOM scan. #141

---
name: Assign Reviewers to Pull Requests
on:
pull_request_target:
types: [opened, ready_for_review, reopened]
jobs:
assign-reviewers:
runs-on: ubuntu-latest
steps:
- name: Assign Reviewers
uses: rowi1de/[email protected]
with:
# If this job ever starts failing, the most likely reason is that this secret is no
# longer valid. This secret needs to be a Personal Access Token (Classic) with the
# public_repo and read:org permissions. It also needs to be from an account that is
# part of the tektronix GitHub organization.
repo-token: ${{ secrets.ASSIGN_REVIEWERS_TOKEN }}
teams: tm-devices-maintainers,tm-devices-admin