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