diff options
Diffstat (limited to '.github/actions/flake-update/action.yaml')
| -rw-r--r-- | .github/actions/flake-update/action.yaml | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/.github/actions/flake-update/action.yaml b/.github/actions/flake-update/action.yaml new file mode 100644 index 0000000..f26c383 --- /dev/null +++ b/.github/actions/flake-update/action.yaml @@ -0,0 +1,33 @@ +name: "update flake inputs" +description: "wrapper around DeterminateSystems/update-flake-lock" +inputs: + update-token: + description: "github write token for creating prs" + required: true + github-token: + description: "github read token for avoid rate limits" + required: false + default: "" + inputs: + description: "flake inputs to update" + required: false + default: "" + commit-msg: + required: true +runs: + using: "composite" + steps: + - uses: cachix/install-nix-action@v20 + with: + github_access_token: ${{ inputs.github-token }} + + - uses: DeterminateSystems/update-flake-lock@v19 + with: + commit-msg: ${{ inputs.commit-msg }} + pr-title: ${{ inputs.commit-msg }} + pr-body: | + Automated changes by the [update-flake-lock](https://github.com/DeterminateSystems/update-flake-lock) GitHub Action. + + bors r+ + nix-options: "--accept-flake-config" + token: ${{ inputs.update-token }} |
