Skip to content

build(deps): bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.35.2-20240920164238-5a7b106cbb87.1 to 1.35.2-20241127180247-a33202765966.1 #4027

build(deps): bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.35.2-20240920164238-5a7b106cbb87.1 to 1.35.2-20241127180247-a33202765966.1

build(deps): bump buf.build/gen/go/bufbuild/protovalidate/protocolbuffers/go from 1.35.2-20240920164238-5a7b106cbb87.1 to 1.35.2-20241127180247-a33202765966.1 #4027

Workflow file for this run

# SPDX-FileCopyrightText: Copyright 2023 The Minder Authors
# SPDX-License-Identifier: Apache-2.0
name: Pull Request Validation
on:
pull_request:
types: [opened, edited, reopened, synchronize]
jobs:
check-pr-content:
runs-on: ubuntu-latest
if: ${{ github.actor != 'dependabot[bot]' && github.actor != 'stacklokbot' }}
steps:
- name: Check PR for Change Type Selection
uses: actions/github-script@60a0d83039c74a4aee543508d2ffcb1c3799cdea # v7.0.1
with:
script: |
const pr = context.payload.pull_request;
if (!pr) {
console.log('This action must be run on a pull request event.');
core.setFailed('No pull request data found.');
return;
}
const prNumber = pr.number;
const body = pr.body;
console.log(`Processing PR #${prNumber}`);
const changeTypeRegex = /\- \[[xX]\] (Bug fix|Feature|Breaking change|Documentation|Refactoring)/;
if (!changeTypeRegex.test(body)) {
core.setFailed("You must select at least one Change Type.");
}