mirror of
https://github.com/hashicorp/vault.git
synced 2026-01-05 00:31:48 +01:00
The genesis of this PR is updating our cache action due to older actions being shut down[0]. While not mentioned in the changelog, the migration guide does call out versions <3.4.0 or <4.2.0 as too old.[1] Since I was updating cache I went ahead and updated minor versions of all our actions. [0]: https://github.blog/changelog/2024-12-05-notice-of-upcoming-releases-and-breaking-changes-for-github-actions/#actions-cache-v1-v2-and-actions-toolkit-cache-package-closing-down [1]: https://github.com/actions/cache/discussions/1510 Signed-off-by: Ryan Cragun <me@ryan.ec>
25 lines
665 B
YAML
25 lines
665 B
YAML
name: Check Copywrite Headers
|
|
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, reopened, ready_for_review]
|
|
push:
|
|
branches:
|
|
- main
|
|
- release/**
|
|
|
|
jobs:
|
|
copywrite:
|
|
runs-on: ubuntu-latest
|
|
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
|
|
permissions:
|
|
contents: read
|