diff options
Diffstat (limited to '.github/workflows/deps.yml')
| -rw-r--r-- | .github/workflows/deps.yml | 44 |
1 files changed, 0 insertions, 44 deletions
diff --git a/.github/workflows/deps.yml b/.github/workflows/deps.yml deleted file mode 100644 index b1ba83b..0000000 --- a/.github/workflows/deps.yml +++ /dev/null | |||
| @@ -1,44 +0,0 @@ | |||
| 1 | name: Dependencies | ||
| 2 | |||
| 3 | on: | ||
| 4 | schedule: | ||
| 5 | - cron: '0 0 * * 0' | ||
| 6 | workflow_dispatch: | ||
| 7 | |||
| 8 | permissions: | ||
| 9 | pull-requests: write | ||
| 10 | contents: write | ||
| 11 | |||
| 12 | jobs: | ||
| 13 | update: | ||
| 14 | name: Update | ||
| 15 | runs-on: ubuntu-latest | ||
| 16 | permissions: | ||
| 17 | actions: write | ||
| 18 | contents: write | ||
| 19 | pull-requests: write | ||
| 20 | steps: | ||
| 21 | - uses: actions/checkout@v4 | ||
| 22 | |||
| 23 | - uses: DeterminateSystems/nix-installer-action@v12 | ||
| 24 | |||
| 25 | - run: nix -vL run --show-trace .#update | ||
| 26 | |||
| 27 | - id: create-pr | ||
| 28 | uses: peter-evans/create-pull-request@v6 | ||
| 29 | with: | ||
| 30 | branch: update_zmk_config_deps | ||
| 31 | delete-branch: true | ||
| 32 | committer: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>' | ||
| 33 | author: 'github-actions[bot] <github-actions[bot]@users.noreply.github.com>' | ||
| 34 | commit-message: 'config,nix: update deps' | ||
| 35 | title: 'config,nix: update deps' | ||
| 36 | labels: 'dependencies' | ||
| 37 | body: | | ||
| 38 | Automated bump of ZMK dependencies | ||
| 39 | |||
| 40 | - uses: benc-uk/workflow-dispatch@v1 | ||
| 41 | if: ${{ contains(fromJSON('["created", "updated"]'), steps.create-pr.outputs.pull-request-operation) }} | ||
| 42 | with: | ||
| 43 | workflow: ci.yml | ||
| 44 | ref: refs/heads/update_zmk_config_deps | ||
