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
|
runs-on: native
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
|
|
||||||
|
|
||||||
- name: checkout repository
|
- name: checkout repository
|
||||||
uses: actions/checkout@v2
|
uses: actions/checkout@v2
|
||||||
with:
|
with:
|
||||||
|
@ -19,10 +21,11 @@ jobs:
|
||||||
git config --local user.email "action@git.ingolf-wagner.de"
|
git config --local user.email "action@git.ingolf-wagner.de"
|
||||||
git config --local user.name "Forgejo Action"
|
git config --local user.name "Forgejo Action"
|
||||||
|
|
||||||
- name: rebase with main branch
|
# fixme: not working for some reason
|
||||||
run: |
|
#- name: rebase with main branch
|
||||||
git fetch origin main
|
# run: |
|
||||||
git rebase origin/main
|
# git fetch origin main
|
||||||
|
# git rebase origin/main
|
||||||
|
|
||||||
- name: setup ssh
|
- name: setup ssh
|
||||||
run: |
|
run: |
|
||||||
|
@ -42,6 +45,8 @@ jobs:
|
||||||
- name: update nix flakes
|
- name: update nix flakes
|
||||||
run: nix flake update
|
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
|
- name: commit and push changes
|
||||||
run: |
|
run: |
|
||||||
git diff --quiet && \
|
git diff --quiet && \
|
||||||
|
|
Loading…
Reference in a new issue