diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 000000000..08ae05db1 --- /dev/null +++ b/.github/workflows/Release.yml @@ -0,0 +1,35 @@ +name: Release + +# A release from its request (`release.jl request`) to its close; see CTActions +# docs/workflows/release.md. + +on: + workflow_dispatch: + inputs: + version: + description: 'The version whose request starts the release (empty: a wake-up)' + required: false + type: string + pull_request: + types: [labeled] + workflow_run: + workflows: [CI, Documentation, Breakage, Release gate, Release tag] + types: [completed] + branches: ['release/v*', main] + schedule: + - cron: '23 * * * *' + +jobs: + call: + permissions: + contents: write + issues: write + pull-requests: read + actions: write + checks: read + uses: control-toolbox/CTActions/.github/workflows/release.yml@main + with: + version: ${{ inputs.version }} + # the App's key is a secret of the environment `release`: it reaches the reusable + # workflow's jobs only when inherited (CTActions docs/workflows/release.md#caller) + secrets: inherit diff --git a/AGENTS.md b/AGENTS.md index 4fd1fd11e..93940ac5e 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -31,10 +31,10 @@ is not the pinned tag, (re)create it: ```bash rm -rf .ct-conventions -git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.12.0 https://github.com/control-toolbox/ct-conventions.git .ct-conventions +git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.13.0 https://github.com/control-toolbox/ct-conventions.git .ct-conventions ``` -**Pinned version: ct-conventions v0.12.0.** Cite rules by identifier (`MOD3`, `TST1`), and +**Pinned version: ct-conventions v0.13.0.** Cite rules by identifier (`MOD3`, `TST1`), and state the version you applied in plans and reports. Read in this order: @@ -75,10 +75,10 @@ not the pinned tag, (re)create it: ```bash rm -rf .ct-agents -git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.4.0 https://github.com/control-toolbox/ct-agents.git .ct-agents +git -c advice.detachedHead=false clone --quiet --depth 1 --branch v0.5.0 https://github.com/control-toolbox/ct-agents.git .ct-agents ``` -**Pinned version: ct-agents v0.4.0.** State it, with the ct-conventions version, in +**Pinned version: ct-agents v0.5.0.** State it, with the ct-conventions version, in plans and reports. - **Release.** When asked, in any language, to prepare a release, follow diff --git a/CHANGELOG.md b/CHANGELOG.md index 8d6664fe0..bf606cff8 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -94,6 +94,10 @@ See [BREAKING.md](BREAKING.md). - `vanderpol`, `robbins` and `jackson` are written in the ModelingToolkit modeling too, with a Lagrange cost, a Mayer cost, state and control bounds (#439). +### 📚 Documentation + +- ct-conventions pinned at `v0.13.0` and ct-agents at `v0.5.0` in `AGENTS.md`; the `Release` workflow of CTActions is called from `.github/workflows/Release.yml`. + ### 📦 Dependencies - OptimalControl 2.2, CTModels 0.19, CTBase 0.30.