Feature/actions (#114)

* Add some basic actions/repo settings

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Add issues/milestones to .github.yml

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Finalize settings

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Add checks

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* lock action update

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* checkout for lock check

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* make lock fail on check

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* fix flake update action

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* Update contrib

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* add formatting check

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* add nixfmt-rfc-style

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* update lock

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* initial format

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* minor change to trigger actions builds

This should be reverted before merging the PR

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* fix format hook

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* flakes update on PR now :)

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* create PR for update

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* allow PR on actions branch

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* PR

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* restore flake update to normal

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

* revert flake-update-service changes

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>

---------

Signed-off-by: ahuston-0 <aliceghuston@gmail.com>
This commit is contained in:
2024-03-17 18:58:55 -04:00
committed by GitHub
parent 1a8a2fa394
commit 438a931a5b
6 changed files with 286 additions and 3 deletions

25
.github/workflows/flake-update.yml vendored Normal file
View File

@ -0,0 +1,25 @@
name: "Update flakes"
on:
repository_dispatch:
workflow_dispatch:
schedule:
- cron: "51 2 * * 1,4"
jobs:
createPullRequest:
runs-on: ubuntu-latest
if: github.ref == 'refs/heads/main' # ensure workflow_dispatch only runs on main
steps:
- uses: actions/checkout@v4
- name: Install Nix
uses: cachix/install-nix-action@v24
with:
extra_nix_config: |
experimental-features = nix-command flakes
- name: Update flake.lock
id: update
uses: DeterminateSystems/update-flake-lock@main
with:
pr-title: "Update flake.lock" # Title of PR to be created
pr-labels: | # Labels to be set on the PR
dependencies
automated