DeterminateSystems/flakehub-cache-action/.github/workflows/propose-release.yml@624793969dccf916b7c07e061b9b9c73f346b242 #5
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 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 commit -m "Update the state.json for v$VERSION" ./tools/state.json | |
| nix develop -c ./tools/generate.sh | |
| git commit -m "Update README.md and action.yml for v$VERSION" README.md action.yml | |
| echo "Checking there is no remaining diff..." | |
| git diff --exit-code |