03247a35d5
Bumps [actions/create-github-app-token](https://github.com/actions/create-github-app-token) from 2.0.6 to 2.2.1. - [Release notes](https://github.com/actions/create-github-app-token/releases) - [Commits](https://github.com/actions/create-github-app-token/compare/df432ceedc7162793a195dd1713ff69aefc7379e...29824e69f54612133e76f7eaac726eef6c875baf) --- updated-dependencies: - dependency-name: actions/create-github-app-token dependency-version: 2.2.1 dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
33 lines
1.1 KiB
YAML
33 lines
1.1 KiB
YAML
name: request-dataplane-review
|
|
|
|
on:
|
|
pull_request:
|
|
types: [ opened, synchronize, reopened, ready_for_review ]
|
|
paths:
|
|
- ".github/workflows/request-dataplane-review.yml"
|
|
- "**/*derp*"
|
|
- "**/derp*/**"
|
|
- "!**/depaware.txt"
|
|
|
|
jobs:
|
|
request-dataplane-review:
|
|
if: github.event.pull_request.draft == false
|
|
name: Request Dataplane Review
|
|
runs-on: ubuntu-latest
|
|
steps:
|
|
- name: Check out code
|
|
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
|
|
- name: Get access token
|
|
uses: actions/create-github-app-token@29824e69f54612133e76f7eaac726eef6c875baf # v2.2.1
|
|
id: generate-token
|
|
with:
|
|
# Get token for app: https://github.com/apps/change-visibility-bot
|
|
app-id: ${{ secrets.VISIBILITY_BOT_APP_ID }}
|
|
private-key: ${{ secrets.VISIBILITY_BOT_APP_PRIVATE_KEY }}
|
|
- name: Add reviewers
|
|
env:
|
|
GH_TOKEN: ${{ steps.generate-token.outputs.token }}
|
|
url: ${{ github.event.pull_request.html_url }}
|
|
run: |
|
|
gh pr edit "$url" --add-reviewer tailscale/dataplane
|