forgejo action
This commit is contained in:
parent
da5af11569
commit
5f8c4791de
1 changed files with 9 additions and 4 deletions
|
@ -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 && \
|
||||
|
|
Loading…
Reference in a new issue