mirror of
https://github.com/Sea-Haven-Industries/.github.git
synced 2026-09-30 08:13:12 +00:00
release.yml / release.properties.json and ci-mobile-ios.yml / ci-mobile-ios.properties.json are new caller templates for the two reusable workflows added in9389e51. Both pin the reusable to9389e51, the commit that introduces the workflow files. release.yml triggers on workflow_dispatch with a required `version` input and declares `permissions: contents: write`, which the reusable needs to push the tag and publish the Release. ci-mobile-ios.yml triggers on pull_request and keys its job `ci` so the check context resolves to `ci / ci`. ci-python.yml now passes `node-version: "24"`. Its target, ci-python-sam.yaml, declares that input at line 34 with default "24"; the ci-static, ci-typescript-frontend, ci-node, cdk-deploy and mobile-ios-deploy templates already pass the same value. Both new .properties.json files carry the same five keys as the thirteen existing ones: categories, description, filePatterns, iconName, name.
24 lines
828 B
YAML
24 lines
828 B
YAML
name: Release
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
version:
|
|
description: 'Version to release, e.g. 1.4.0 (a leading "v" is accepted)'
|
|
type: string
|
|
required: true
|
|
|
|
permissions:
|
|
# The reusable workflow pushes an annotated tag and publishes a Release.
|
|
contents: write
|
|
|
|
jobs:
|
|
release:
|
|
uses: Sea-Haven-Industries/.github/.github/workflows/release.yaml@9389e51c10c506caa55f204527452a9e29b0e438 # main
|
|
with:
|
|
version: ${{ inputs.version }}
|
|
# Tags in this org are v-prefixed MAJOR.MINOR.PATCH; "v" is the default
|
|
# and is passed explicitly so a repo can see what it is producing.
|
|
tag-prefix: "v"
|
|
# Notes come from GitHub's commit-history generator. Set notes-file
|
|
# instead to publish the contents of a file as the release notes.
|
|
generate-notes: true
|