summaryrefslogtreecommitdiff
path: root/.github/workflows/update-inputs.yaml
diff options
context:
space:
mode:
authorseth <[email protected]>2023-05-27 18:36:55 -0400
committerseth <[email protected]>2023-05-27 18:36:55 -0400
commitbdbb8bd1012942d55e5322e16dce2912f79a0b9c (patch)
treead2415a30470d391bd1d035deacd29732bc5d8d2 /.github/workflows/update-inputs.yaml
parent9c4eefcf057a680debbe05cef4fcd647bdf937f2 (diff)
actions: use composite action for updating inputs
Diffstat (limited to '.github/workflows/update-inputs.yaml')
-rw-r--r--.github/workflows/update-inputs.yaml16
1 files changed, 3 insertions, 13 deletions
diff --git a/.github/workflows/update-inputs.yaml b/.github/workflows/update-inputs.yaml
index 8dc66c4..59fed45 100644
--- a/.github/workflows/update-inputs.yaml
+++ b/.github/workflows/update-inputs.yaml
@@ -16,19 +16,9 @@ jobs:
- name: checkout repo
uses: actions/checkout@v3
- - name: install nix
- uses: cachix/install-nix-action@v20
- with:
- github_access_token: ${{ secrets.GITHUB_TOKEN }}
-
- name: update all inputs
- uses: DeterminateSystems/update-flake-lock@v19
+ uses: ./.github/actions/flake-update
with:
commit-msg: "flake: update all inputs"
- pr-title: "flake: update all inputs"
- 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: ${{ secrets.FLAKE_UPDATE }}
+ github-token: ${{ secrets.GITHUB_TOKEN }}
+ update-token: ${{ secrets.FLAKE_UPDATE }}