Skip to content

Commit ed219ab

Browse files
Create mirror_to_codeberg.yml (#23)
* Create mirror_to_codeberg.yml Shamelessly ~~stolen~~ borrowed from https://github.com/Lissy93/dashy/blob/master/.github/workflows/mirror.yml * bump to v6 * Potential fix for code scanning alert no. 2: Workflow does not contain permissions Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --------- Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>
1 parent fa639f6 commit ed219ab

1 file changed

Lines changed: 18 additions & 0 deletions

File tree

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
# Pushes the contents of the repo to the Codeberg mirror
2+
name: 🪞 Mirror to Codeberg
3+
permissions:
4+
contents: read
5+
on:
6+
workflow_dispatch:
7+
schedule:
8+
- cron: '30 3 * * 0' # At 03:30 on Sunday
9+
jobs:
10+
codeberg:
11+
runs-on: ubuntu-latest
12+
steps:
13+
- uses: actions/checkout@v6
14+
with: { fetch-depth: 0 }
15+
- uses: pixta-dev/repository-mirroring-action@v1
16+
with:
17+
target_repo_url: git@codeberg.org:EvilOlaf/scum.git
18+
ssh_private_key: ${{ secrets.GHA_SSH_KEY }}

0 commit comments

Comments
 (0)