Skip to content

SDPLAT-26630: use GH_APP in workflows #5116

SDPLAT-26630: use GH_APP in workflows

SDPLAT-26630: use GH_APP in workflows #5116

Workflow file for this run

name: label-check
on:
pull_request_target:
types: [opened, labeled, unlabeled, synchronize]
jobs:
label-check:
runs-on: ubuntu-latest
steps:
- uses: actions/create-github-app-token@v1
id: app-token
with:
app-id: ${{ vars.GH_APP_ID }}
private-key: ${{ secrets.GH_APP_PRIVATE_KEY }}
- uses: docker://agilepathway/pull-request-label-checker:latest
with:
one_of: major,minor,patch,skip-changelog
repo_token: ${{ steps.app-token.outputs.token }}