-
-
Notifications
You must be signed in to change notification settings - Fork 211
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* added github-actions * removed default config entries * configured prettier as formatter for github workflows * runs every day to prevent running into api limits
- Loading branch information
Showing
8 changed files
with
47 additions
and
85 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,26 +1,24 @@ | ||
name: mirror git repo | ||
|
||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
jobs: | ||
mirror: | ||
runs-on: ubuntu-latest | ||
if: github.repository_owner == '0xERR0R' | ||
steps: | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
- uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
- uses: yesolutions/mirror-action@master | ||
with: | ||
REMOTE: 'https://codeberg.org/0xERR0R/blocky.git' | ||
GIT_USERNAME: 0xERR0R | ||
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }} | ||
|
||
- name: Delete old runs | ||
uses: Mattraks/delete-workflow-runs@v2 | ||
- uses: yesolutions/mirror-action@master | ||
with: | ||
token: ${{ github.token }} | ||
repository: ${{ github.repository }} | ||
delete_workflow_pattern: mirror-repo.yml | ||
REMOTE: "https://codeberg.org/0xERR0R/blocky.git" | ||
GIT_USERNAME: 0xERR0R | ||
GIT_PASSWORD: ${{ secrets.CODEBERG_TOKEN }} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters