mirror of
https://github.com/DeterminateSystems/determinate-nix-action.git
synced 2026-02-24 22:57:12 +00:00
Initial commit
This commit is contained in:
parent
681714470d
commit
fbd616d075
15 changed files with 800 additions and 0 deletions
34
.github/workflows/propose-release.yml
vendored
Normal file
34
.github/workflows/propose-release.yml
vendored
Normal file
|
|
@ -0,0 +1,34 @@
|
|||
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:
|
||||
reference-id: ${{ inputs.reference-id }}
|
||||
version: ${{ inputs.version }}
|
||||
extra-commands-early: |
|
||||
nix develop -c ./tools/update-state.sh "v$VERSION"
|
||||
git diff || true
|
||||
git add tools/state.json
|
||||
git commit -m "Update the state.json for v$VERSION"
|
||||
nix develop -c ./tools/generate.sh
|
||||
git add README.md action.yml
|
||||
git commit -m "Update README.md and action.yml for v$VERSION"
|
||||
echo "Checking there is no remaining diff..."
|
||||
git diff --exit-code
|
||||
Loading…
Add table
Add a link
Reference in a new issue