parent
fc1a11e386
commit
b91c23e78d
1 changed files with 9 additions and 11 deletions
|
|
@ -3,19 +3,17 @@ name: update-dependencies
|
|||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
- cron: '0 6 * * *' # daily at 1 am EST/2 am EDT
|
||||
|
||||
- cron: '0 6 * * *'
|
||||
jobs:
|
||||
update-dependencies:
|
||||
runs-on: ubuntu-latest
|
||||
runs-on: nixos-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 != '' }}
|
||||
uses: https://github.com/DeterminateSystems/update-flake-lock@main
|
||||
|
||||
# - 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 != '' }}s
|
||||
Loading…
Add table
Add a link
Reference in a new issue