forgejo action
All checks were successful
Build all NixOS Configurations / nix build (push) Successful in 6m56s

This commit is contained in:
Ingolf Wagner 2024-07-21 00:08:51 +02:00
parent da5af11569
commit 5f8c4791de
Signed by: palo
GPG key ID: 76BF5F1928B9618B

View file

@ -9,6 +9,8 @@ jobs:
runs-on: native
steps:
- name: checkout repository
uses: actions/checkout@v2
with:
@ -19,10 +21,11 @@ jobs:
git config --local user.email "action@git.ingolf-wagner.de"
git config --local user.name "Forgejo Action"
- name: rebase with main branch
run: |
git fetch origin main
git rebase origin/main
# fixme: not working for some reason
#- name: rebase with main branch
# run: |
# git fetch origin main
# git rebase origin/main
- name: setup ssh
run: |
@ -42,6 +45,8 @@ jobs:
- name: update nix flakes
run: nix flake update
# we need the ssh-agent here, otherwise git push would use the GITHUB_TOKEN
# which prevents other workflows to be triggered
- name: commit and push changes
run: |
git diff --quiet && \