parent
98dce86882
commit
fc1a11e386
1 changed files with 21 additions and 0 deletions
21
.forgejo/workflows/update-dependencies.yml
Normal file
21
.forgejo/workflows/update-dependencies.yml
Normal file
|
|
@ -0,0 +1,21 @@
|
||||||
|
|
||||||
|
name: update-dependencies
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
schedule:
|
||||||
|
- cron: '0 6 * * *' # daily at 1 am EST/2 am EDT
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
update-dependencies:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@v12
|
||||||
|
- id: update
|
||||||
|
uses: DeterminateSystems/update-flake-lock@v23
|
||||||
|
|
||||||
|
- name: Merge
|
||||||
|
run: gh pr merge --auto "${{ steps.update.outputs.pull-request-number }}" --rebase
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
|
||||||
|
if: ${{ steps.update.outputs.pull-request-number != '' }}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue