Skip to content

Update python-pacage-ci-cd to v1.1.0 and use tokens to upload to PyPI #273

Update python-pacage-ci-cd to v1.1.0 and use tokens to upload to PyPI

Update python-pacage-ci-cd to v1.1.0 and use tokens to upload to PyPI #273

---
name: Assign Reviewers to Pull Requests
on:
pull_request_target:
types: [opened, ready_for_review, reopened]
workflow_call:
inputs:
reviewer-teams-list:
description: A comma-separated list of team names to add as reviewers.
required: true
type: string
jobs:
assign-reviewers:
runs-on: ubuntu-latest
env:
REVIEWER_TEAMS_LIST: ${{ inputs.reviewer-teams-list || 'tm-devices-maintainers,tm-devices-admin' }}
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: ${{ env.REVIEWER_TEAMS_LIST }}