mirror of
https://github.com/NixOS/nix
synced 2025-07-06 21:41:48 +02:00
Create an initial propose-release workflow
This commit is contained in:
parent
b6101aedb4
commit
013c09948e
1 changed files with 29 additions and 0 deletions
29
.github/workflows/propose-release.yml
vendored
Normal file
29
.github/workflows/propose-release.yml
vendored
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
on:
|
||||||
|
workflow_dispatch:
|
||||||
|
inputs:
|
||||||
|
reference-id:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
version:
|
||||||
|
type: string
|
||||||
|
required: true
|
||||||
|
|
||||||
|
concurrency:
|
||||||
|
group: ${{ github.workflow }}
|
||||||
|
cancel-in-progress: true
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
propose-release:
|
||||||
|
uses: DeterminateSystems/propose-release/.github/workflows/workflow.yml@main
|
||||||
|
permissions:
|
||||||
|
id-token: write
|
||||||
|
contents: write
|
||||||
|
pull-requests: write
|
||||||
|
with:
|
||||||
|
update-flake: false
|
||||||
|
reference-id: ${{ inputs.reference-id }}
|
||||||
|
version: ${{ inputs.version }}
|
||||||
|
extra-commands-early: |
|
||||||
|
echo ${{ inputs.version }} > .version-determinate
|
||||||
|
git add .version-determinate
|
||||||
|
git commit -m "Set .version-determinate to ${{ inputs.version }}"
|
Loading…
Add table
Add a link
Reference in a new issue