Skip to content

Commit

Permalink
fix(ci): Run check-flake on Pull Requests and add Andi as a reviewe…
Browse files Browse the repository at this point in the history
…r for automated flake.lock updates
  • Loading branch information
mrjones2014 committed Mar 22, 2024
1 parent f8bafa1 commit 7b15365
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/check-flake.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
name: Check Nix flake
on:
pull_request:
pull_request_target:
paths:
- '*.nix'
- flake.lock
push:
branches:
- main
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/update-flake-dependencies.yml
Original file line number Diff line number Diff line change
Expand Up @@ -33,5 +33,5 @@ jobs:
--field content=@<(base64 -i $FILE_TO_COMMIT) \
--field branch="$COMMIT_BRANCH" \
--field sha="$(git rev-parse $COMMIT_BRANCH:$FILE_TO_COMMIT)"
gh pr create --title "[automation]: Update Flake dependencies" --body "This is an automated PR to update \`flake.lock\`" --reviewer mrjones2014 --base main --head $COMMIT_BRANCH
gh pr create --title "[automation]: Update Flake dependencies" --body "This is an automated PR to update \`flake.lock\`" --reviewer mrjones2014 --reviewer AndyTitu --base main --head $COMMIT_BRANCH
fi

0 comments on commit 7b15365

Please sign in to comment.