mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 07:03:11 +00:00
ci: pin workflow-template refs to commit SHA
Per the updated handbook convention (engineering-handbook PR #18), reusable-workflow references use full commit SHA pins with a '# main' comment instead of the mutable @main branch ref. Templates now ship pinned so new repos start convention-compliant; Dependabot advances the pin after instantiation. Commented usage examples in ci-static and ci-typescript-frontend use the <full-commit-sha> placeholder form.
This commit is contained in:
parent
555d07c3a2
commit
69b28c6f3a
8 changed files with 8 additions and 8 deletions
2
.github/workflows/ci-static.yaml
vendored
2
.github/workflows/ci-static.yaml
vendored
|
|
@ -15,7 +15,7 @@ name: CI — Static Site
|
|||
# Caller example (build mode):
|
||||
# jobs:
|
||||
# ci:
|
||||
# uses: Sea-Haven-Industries/.github/.github/workflows/ci-static.yaml@main
|
||||
# uses: Sea-Haven-Industries/.github/.github/workflows/ci-static.yaml@<full-commit-sha> # main
|
||||
# with:
|
||||
# build-command: "npx @11ty/eleventy"
|
||||
# check-dir: "_site"
|
||||
|
|
|
|||
|
|
@ -13,7 +13,7 @@ name: CI — TypeScript Frontend
|
|||
# Caller example:
|
||||
# jobs:
|
||||
# ci:
|
||||
# uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-frontend.yaml@main
|
||||
# uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-frontend.yaml@<full-commit-sha> # main
|
||||
# with:
|
||||
# node-version: "24"
|
||||
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ on:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/cd-cdk.yaml@main
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/cd-cdk.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
||||
secrets:
|
||||
deploy-role-arn: ${{ secrets.AWS_DEPLOY_ROLE_ARN }}
|
||||
|
|
|
|||
|
|
@ -5,4 +5,4 @@ on:
|
|||
|
||||
jobs:
|
||||
ci:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-cdk.yaml@main
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-typescript-cdk.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
||||
|
|
|
|||
|
|
@ -5,6 +5,6 @@ on:
|
|||
|
||||
jobs:
|
||||
ci:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@main
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/ci-python-sam.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
||||
with:
|
||||
run-tests: true
|
||||
|
|
|
|||
|
|
@ -8,4 +8,4 @@ permissions:
|
|||
|
||||
jobs:
|
||||
dependency-review:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-dependency-review.yaml@main
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-dependency-review.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
||||
|
|
|
|||
|
|
@ -13,4 +13,4 @@ permissions:
|
|||
|
||||
jobs:
|
||||
label:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-labeler.yaml@main
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/callable-labeler.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
||||
|
|
|
|||
|
|
@ -5,7 +5,7 @@ on:
|
|||
|
||||
jobs:
|
||||
deploy:
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/cd-sam.yaml@main
|
||||
uses: Sea-Haven-Industries/.github/.github/workflows/cd-sam.yaml@555d07c3a240689a81668026787eba089df4c975 # main
|
||||
with:
|
||||
# Required: the CloudFormation stack name (kebab-case, matches repo name).
|
||||
# NOTE: this is a literal placeholder on purpose — starter-workflow variables
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue