Exclude profiles with labels from history. #360
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# SPDX-FileCopyrightText: Copyright 2024 The Minder Authors | |
# SPDX-License-Identifier: Apache-2.0 | |
name: Boilerplate | |
on: | |
pull_request: | |
branches: [ 'main', 'release-*' ] | |
jobs: | |
check: | |
name: Boilerplate Check | |
runs-on: ubuntu-latest | |
strategy: | |
fail-fast: false | |
matrix: | |
extension: | |
- go | |
- sh | |
- yaml | |
- yml | |
- html | |
- css | |
include: | |
- extension: go | |
language: Go | |
- extension: sh | |
language: Bash | |
- extension: yaml | |
language: YAML | |
- extension: yml | |
language: YAML | |
- extension: html | |
language: HTML | |
- extension: css | |
language: CSS | |
- extension: sql | |
language: SQL | |
steps: | |
- name: Check out code | |
uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2 | |
- uses: chainguard-dev/actions/boilerplate@main | |
with: | |
extension: ${{ matrix.extension }} | |
language: ${{ matrix.language }} | |
exclude: "/mock/|internal/db/|client.gen.go|.pb(.gw)?.go|docs/docs/|internal/auth/keycloak/client/" |