mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 08:53:56 -05:00
simplify workflow
This commit is contained in:
parent
5823cab2c4
commit
78da2dd966
2 changed files with 10 additions and 12 deletions
17
.github/workflows/flake-update.yml
vendored
17
.github/workflows/flake-update.yml
vendored
|
|
@ -13,16 +13,9 @@ jobs:
|
|||
- name: Install Nix
|
||||
uses: DeterminateSystems/nix-installer-action@v12
|
||||
- name: Update flake lock
|
||||
id: update
|
||||
uses: DeterminateSystems/update-flake-lock@v22
|
||||
with:
|
||||
pr-title: "Update flake.lock"
|
||||
pr-labels: |
|
||||
dependencies
|
||||
automated
|
||||
- name: merge
|
||||
run: |
|
||||
gh pr merge ${{ steps.update.outputs.pull-request-number }} --squash --delete-branch
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
run : |
|
||||
git config --local user.email "github-actions[bot]@users.noreply.github.com"
|
||||
git config --local user.name "github-actions[bot]"
|
||||
nix flake update --commit-lock-file
|
||||
git push origin HEAD:${{ github.ref_name }}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue