Skip to content

Commit

Permalink
let opened PRs run CI automatically
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianHicks committed Jan 11, 2024
1 parent db66879 commit e19fd65
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/update_nix.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ name: Update Nix
on:
schedule:
- cron: "0 2 * * 1"
workflow_dispatch:

jobs:
update-nix:
Expand All @@ -12,6 +13,7 @@ jobs:
- uses: actions/checkout@v4
with:
ref: main
ssh-key: ${{ secrets.UPDATE_SSH_KEY }}
- uses: cachix/install-nix-action@v24
- run: nix flake update
- name: Create PR
Expand All @@ -33,5 +35,3 @@ jobs:
--title "update Nix sources, $(date -I)" \
--body "Automatically generated by GitHub actions at $(date)" \
--head "$BRANCH"

0 comments on commit e19fd65

Please sign in to comment.