summaryrefslogtreecommitdiff
path: root/.github/actions/flake-update
diff options
context:
space:
mode:
authorseth <[email protected]>2023-09-06 17:52:38 -0400
committerseth <[email protected]>2023-09-07 13:52:26 -0400
commita3417fada3c603ef5b3e0820d695b684661fb4d5 (patch)
tree9936fa78ebd0323dfc9cb255618bc78defb57422 /.github/actions/flake-update
parente41f98de313f81a74a6ebb1131b3bd92817c4acb (diff)
actions: make flake-update a reusable workflow
Diffstat (limited to '.github/actions/flake-update')
-rw-r--r--.github/actions/flake-update/action.yaml36
1 files changed, 0 insertions, 36 deletions
diff --git a/.github/actions/flake-update/action.yaml b/.github/actions/flake-update/action.yaml
deleted file mode 100644
index ac3e3b7..0000000
--- a/.github/actions/flake-update/action.yaml
+++ /dev/null
@@ -1,36 +0,0 @@
-name: "update flake inputs"
-description: "wrapper around DeterminateSystems/update-flake-lock"
-inputs:
- commit-msg:
- required: true
- github-token:
- description: "github read token for increasing rate limits"
- required: true
- default: ""
- inputs:
- description: "flake inputs to update"
- required: false
- default: ""
-runs:
- using: "composite"
- steps:
- - name: install nix
- uses: cachix/install-nix-action@v22
- with:
- github_access_token: ${{ inputs.github-token }}
-
- - name: run update-flake-lock
- uses: DeterminateSystems/update-flake-lock@v19
- id: update
- with:
- commit-msg: ${{ inputs.commit-msg }}
- inputs: ${{ inputs.inputs }}
- pr-title: ${{ inputs.commit-msg }}
- token: ${{ inputs.github-token }}
-
- - name: auto-merge pull request
- shell: bash
- run: gh pr merge --auto --rebase "$PR_ID"
- env:
- GITHUB_TOKEN: ${{ inputs.github-token }}
- PR_ID: ${{ steps.update.outputs.pull-request-number }}