mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-24 17:55:37 +00:00
auth automerge and run status check in same action
This commit is contained in:
parent
3e6232cbee
commit
5d6dab3cab
1
.github/workflows/check.yml
vendored
1
.github/workflows/check.yml
vendored
@ -2,7 +2,6 @@ name: Check Build
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
pull_request:
|
||||
|
||||
jobs:
|
||||
check:
|
||||
|
6
.github/workflows/update.yml
vendored
6
.github/workflows/update.yml
vendored
@ -20,6 +20,8 @@ jobs:
|
||||
uses: DeterminateSystems/nix-installer-action@v4
|
||||
- name: Check Nixpkgs Inputs
|
||||
uses: DeterminateSystems/flake-checker-action@v5
|
||||
- name: Add Nix Cache
|
||||
uses: DeterminateSystems/magic-nix-cache-action@v2
|
||||
- name: Update flake.lock
|
||||
uses: DeterminateSystems/update-flake-lock@v19
|
||||
id: update
|
||||
@ -28,5 +30,9 @@ jobs:
|
||||
pr-labels: | # Labels to be set on the PR
|
||||
dependencies
|
||||
automated
|
||||
- name: Check the Flake
|
||||
run: nix flake check
|
||||
- name: Enable Pull Request Automerge
|
||||
run: gh pr merge --merge --auto ${{ steps.update.outputs.pull-request-number }}
|
||||
env:
|
||||
GH_TOKEN: ${{ github.token }}
|
||||
|
Loading…
Reference in New Issue
Block a user