diff options
author | tv <tv@krebsco.de> | 2024-11-06 19:16:23 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2024-11-06 19:16:23 +0100 |
commit | 77ec527f311091847b800fee01fd050953a65185 (patch) | |
tree | a4633c97ffd55d8b3db7dadfdba2ecb707f65d6c /.github/workflows/flake.yml |
initial commit
Diffstat (limited to '.github/workflows/flake.yml')
-rw-r--r-- | .github/workflows/flake.yml | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.github/workflows/flake.yml b/.github/workflows/flake.yml new file mode 100644 index 0000000..5aef002 --- /dev/null +++ b/.github/workflows/flake.yml @@ -0,0 +1,32 @@ +name: Flake + +on: + schedule: + - cron: '0 0 * * 0' + workflow_dispatch: + +jobs: + update: + name: Update + runs-on: ubuntu-latest + permissions: + actions: write + contents: write + pull-requests: write + steps: + - uses: actions/checkout@v4 + + - uses: DeterminateSystems/nix-installer-action@v11 + + - id: update-flake-lock + uses: DeterminateSystems/update-flake-lock@v21 + with: + commit-msg: 'flake: update inputs' + pr-title: 'flake: update inputs' + pr-labels: 'dependencies' + + - uses: benc-uk/workflow-dispatch@v1 + if: ${{ contains(fromJSON('["created", "updated"]'), steps.update-flake-lock.outputs.pull-request-operation) }} + with: + workflow: ci.yml + ref: refs/heads/update_flake_lock_action |