Compare commits
2 Commits
48320cb21e
...
4eab93f678
| Author | SHA1 | Date |
|---|---|---|
|
|
4eab93f678 | |
|
|
757a625316 |
|
|
@ -10,11 +10,10 @@ jobs:
|
|||
sync:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout from Forgejo
|
||||
- name: Checkout from Gitea
|
||||
uses: actions/checkout@v4
|
||||
with:
|
||||
fetch-depth: 0
|
||||
# Forgejo Actions auto-provides GITEA_TOKEN for the current repo
|
||||
token: ${{ secrets.GITEA_TOKEN }}
|
||||
|
||||
- name: Add upstream remote
|
||||
|
|
@ -55,8 +54,8 @@ jobs:
|
|||
- name: Commit and push
|
||||
if: steps.sync.outputs.changed == 'true'
|
||||
run: |
|
||||
git config user.name "forgejo-actions[bot]"
|
||||
git config user.email "forgejo-actions@git.vpsj.de"
|
||||
git config user.name "gitea-actions[bot]"
|
||||
git config user.email "gitea-actions@git.vpsj.de"
|
||||
|
||||
UPSTREAM_SHA=$(git rev-parse --short upstream/main)
|
||||
git commit -m "Sync skills from obra/superpowers upstream (${UPSTREAM_SHA})"
|
||||
Loading…
Reference in New Issue