Skip to content

Updates github-config #832

Updates github-config

Updates github-config #832

Workflow file for this run

name: Set / Validate PR Labels
on:
pull_request_target:
branches:
- main
types:
- synchronize
- opened
- reopened
- labeled
- unlabeled
concurrency: pr_labels_${{ github.event.number }}
jobs:
autolabel:
name: Ensure Minimal Semver Labels
runs-on: ubuntu-22.04
steps:
- name: Check Minimal Semver Labels
uses: mheap/github-action-required-labels@v3
with:
count: 1
labels: semver:major, semver:minor, semver:patch
mode: exactly
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
- name: Auto-label Semver
if: ${{ failure() }}
uses: paketo-buildpacks/github-config/actions/pull-request/auto-semver-label@main
env:
GITHUB_TOKEN: ${{ secrets.PAKETO_BOT_GITHUB_TOKEN }}