Skip to content

Use TianoCore App settings instead of token #135

Use TianoCore App settings instead of token

Use TianoCore App settings instead of token #135

Workflow file for this run

## @file
# Assign reviewers from a REVIEWERS file using CODEOWNERS syntax
#
# Copyright (c) 2022, Intel Corporation. All rights reserved.<BR>
# SPDX-License-Identifier: BSD-2-Clause-Patent
##
name: Assign reviewers from a REVIEWERS file using CODEOWNERS syntax
on:
pull_request_target:
types: [opened, synchronize, reopened, ready_for_review]
branches:
- 'master'
jobs:
assign_reviewers:
if: github.event.pull_request.draft == false
runs-on: ubuntu-latest
steps:
- name: Checkout Pull Request Target
uses: actions/checkout@v4
- name: Get Token
id: get_workflow_token
uses: peter-murray/workflow-application-token-action@v2
with:
application_id: ${{ secrets.APPLICATION_ID }}
application_private_key: ${{ secrets.APPLICATION_PRIVATE_KEY }}
organization: tianocore
- uses: mdkinney/github-action-assign-reviewers@main
with:
token: ${{ steps.get_workflow_token.outputs.token }}