mirror of
https://github.com/hashicorp/vault.git
synced 2026-03-01 13:02:08 -05:00
Various small changes and tweaks to our CI/CD workflows to allow for running CE branches in the context of `hashicorp/vault-enterprise`. Signed-off-by: Ryan Cragun <me@ryan.ec>
26 lines
782 B
YAML
26 lines
782 B
YAML
name: Check Copywrite Headers
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
push:
|
|
branches:
|
|
- main
|
|
- release/**
|
|
- ce/**
|
|
|
|
permissions:
|
|
contents: read
|
|
|
|
jobs:
|
|
copywrite:
|
|
runs-on: ${{ github.repository == 'hashicorp/vault' && 'ubuntu-latest' || fromJSON('["self-hosted","ubuntu-latest-x64"]') }}
|
|
steps:
|
|
- uses: actions/checkout@11bd71901bbe5b1630ceea73d27597364c9af683 # v4.2.2
|
|
- uses: hashicorp/setup-copywrite@32638da2d4e81d56a0764aa1547882fc4d209636 # v1.1.3
|
|
name: Setup Copywrite
|
|
with:
|
|
version: v0.16.4
|
|
archive-checksum: c299f830e6eef7e126a3c6ef99ac6f43a3c132d830c769e0d36fa347fa1af254
|
|
- name: Check Header Compliance
|
|
run: make ci-copywriteheaders
|