mirror of
https://github.com/floci-io/floci.git
synced 2026-11-25 14:57:54 -05:00
Bumps the actions-minor-patch group with 8 updates: | Package | From | To | | --- | --- | --- | | [graalvm/setup-graalvm](https://github.com/graalvm/setup-graalvm) | `1.6.4` | `1.6.6` | | [actions/upload-artifact](https://github.com/actions/upload-artifact) | `7.0.0` | `7.0.1` | | [actions/download-artifact](https://github.com/actions/download-artifact) | `8.0.0` | `8.0.1` | | [docker/setup-buildx-action](https://github.com/docker/setup-buildx-action) | `4.3.0` | `4.4.1` | | [docker/build-push-action](https://github.com/docker/build-push-action) | `7.3.0` | `7.4.0` | | [actions/setup-java](https://github.com/actions/setup-java) | `6.0.0` | `6.0.1` | | [aws-actions/configure-aws-credentials](https://github.com/aws-actions/configure-aws-credentials) | `6.2.3` | `6.3.0` | | [aws-actions/amazon-ecr-login](https://github.com/aws-actions/amazon-ecr-login) | `2.0.1` | `2.1.7` | Updates `graalvm/setup-graalvm` from 1.6.4 to 1.6.6 - [Release notes](https://github.com/graalvm/setup-graalvm/releases) - [Commits](https://github.com/graalvm/setup-graalvm/compare/5298d94fb55a4f185c602eeac5de1b553882abe2...0426e2e191540e8514dff98dc52a5f5146a2a276) Updates `actions/upload-artifact` from 7.0.0 to 7.0.1 - [Release notes](https://github.com/actions/upload-artifact/releases) - [Commits](https://github.com/actions/upload-artifact/compare/v7...043fb46d1a93c77aae656e7c1c64a875d1fc6a0a) Updates `actions/download-artifact` from 8.0.0 to 8.0.1 - [Release notes](https://github.com/actions/download-artifact/releases) - [Commits](https://github.com/actions/download-artifact/compare/v8...3e5f45b2cfb9172054b4087a40e8e0b5a5461e7c) Updates `docker/setup-buildx-action` from 4.3.0 to 4.4.1 - [Release notes](https://github.com/docker/setup-buildx-action/releases) - [Commits](https://github.com/docker/setup-buildx-action/compare/37fe631027851001ddb9b187196cc803df7f5f0e...f87e5991a6d7451dcb8d9637bfbc97413f497069) Updates `docker/build-push-action` from 7.3.0 to 7.4.0 - [Release notes](https://github.com/docker/build-push-action/releases) - [Commits](https://github.com/docker/build-push-action/compare/53b7df96c91f9c12dcc8a07bcb9ccacbed38856a...c3c9e263c25d99ce0380d002d59b67737d91b0dc) Updates `actions/setup-java` from 6.0.0 to 6.0.1 - [Release notes](https://github.com/actions/setup-java/releases) - [Commits](https://github.com/actions/setup-java/compare/dd06d9cba3e5552c54d9f8ea23572deb30010f7c...de7274f081f381c8f8158605e0321c36c376e2e6) Updates `aws-actions/configure-aws-credentials` from 6.2.3 to 6.3.0 - [Release notes](https://github.com/aws-actions/configure-aws-credentials/releases) - [Changelog](https://github.com/aws-actions/configure-aws-credentials/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/configure-aws-credentials/compare/e6de054238d6b7531b4efff3b6587d9aade6a06c...e1253824e5c10ff9df46874f81ed3ec929e19cfd) Updates `aws-actions/amazon-ecr-login` from 2.0.1 to 2.1.7 - [Release notes](https://github.com/aws-actions/amazon-ecr-login/releases) - [Changelog](https://github.com/aws-actions/amazon-ecr-login/blob/main/CHANGELOG.md) - [Commits](https://github.com/aws-actions/amazon-ecr-login/compare/062b18b96a7aff071d4dc91bc00c4c1a7945b076...03f1aad4c6c7ffd436567f42f9384779290529bd) --- updated-dependencies: - dependency-name: graalvm/setup-graalvm dependency-version: 1.6.6 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-patch - dependency-name: actions/upload-artifact dependency-version: 7.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-patch - dependency-name: actions/download-artifact dependency-version: 8.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-patch - dependency-name: docker/setup-buildx-action dependency-version: 4.4.1 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: docker/build-push-action dependency-version: 7.4.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: actions/setup-java dependency-version: 6.0.1 dependency-type: direct:production update-type: version-update:semver-patch dependency-group: actions-minor-patch - dependency-name: aws-actions/configure-aws-credentials dependency-version: 6.3.0 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch - dependency-name: aws-actions/amazon-ecr-login dependency-version: 2.1.7 dependency-type: direct:production update-type: version-update:semver-minor dependency-group: actions-minor-patch ... Signed-off-by: dependabot[bot] <support@github.com> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
76 lines
2.7 KiB
YAML
76 lines
2.7 KiB
YAML
name: Release Cut
|
|
|
|
# One-button release from main.
|
|
#
|
|
# Manually dispatched: semantic-release analyzes the Conventional Commits on
|
|
# main, bumps pom.xml (via the exec plugin running `mvn versions:set`), writes
|
|
# CHANGELOG.md, commits those files, tags the release (tagFormat: ${version}),
|
|
# and creates the GitHub Release. The tag push then fires release.yml exactly
|
|
# as a manual tag push does today.
|
|
#
|
|
# GH_TOKEN must be a fine-grained PAT with contents:write. The default
|
|
# GITHUB_TOKEN cannot be used: tags pushed with it do not trigger other
|
|
# workflows (GitHub's recursion guard), so release.yml would never run.
|
|
#
|
|
# Maven note: the exec plugin invokes `mvn versions:set`; ubuntu-latest ships
|
|
# a system mvn, which is sufficient for that goal.
|
|
#
|
|
# The toolchain is pinned: .github/release-tooling/package-lock.json is the
|
|
# only source of the semantic-release dependency tree (npm ci --ignore-scripts),
|
|
# so the job that holds the write PAT never resolves mutable versions.
|
|
#
|
|
# Required secrets: GH_TOKEN
|
|
|
|
on:
|
|
workflow_dispatch:
|
|
inputs:
|
|
dry-run:
|
|
description: 'Dry run (compute the next version and release notes without releasing)'
|
|
type: boolean
|
|
default: false
|
|
|
|
permissions:
|
|
contents: write
|
|
|
|
# Serialize release cuts: a second dispatch queues behind the first instead of
|
|
# racing it to the same version/tag. No cancel-in-progress — never kill a
|
|
# mid-flight release. GitHub keeps at most ONE pending run per group, so if
|
|
# several dispatches pile up, only the latest pending one runs — intentional:
|
|
# duplicate queued release cuts are redundant by definition (the surviving run
|
|
# re-analyzes main and releases whatever is unreleased).
|
|
concurrency:
|
|
group: release-cut
|
|
|
|
jobs:
|
|
release:
|
|
name: Cut release from main
|
|
runs-on: ubuntu-latest
|
|
# semantic-release comments on and labels every issue and PR in the release,
|
|
# which is roughly two API writes each. A 278-PR release took ~22 minutes.
|
|
timeout-minutes: 60
|
|
|
|
steps:
|
|
- uses: actions/checkout@3d3c42e5aac5ba805825da76410c181273ba90b1 # v7.0.1
|
|
with:
|
|
ref: main
|
|
token: ${{ secrets.GH_TOKEN }}
|
|
fetch-depth: 0
|
|
|
|
- uses: actions/setup-java@de7274f081f381c8f8158605e0321c36c376e2e6 # v6.0.1
|
|
with:
|
|
java-version: '25'
|
|
distribution: 'temurin'
|
|
cache: maven
|
|
|
|
- uses: actions/setup-node@820762786026740c76f36085b0efc47a31fe5020 # v7.0.0
|
|
with:
|
|
node-version: 22
|
|
|
|
- name: Install the pinned release toolchain
|
|
run: npm ci --prefix .github/release-tooling --ignore-scripts
|
|
|
|
- name: Run semantic-release
|
|
run: ./.github/release-tooling/node_modules/.bin/semantic-release ${{ inputs.dry-run && '--dry-run' || '' }}
|
|
env:
|
|
GH_TOKEN: ${{ secrets.GH_TOKEN }}
|