Skip to content

Commit

Permalink
Add Codeberg Mirror Badge
Browse files Browse the repository at this point in the history
  • Loading branch information
smashedr committed Sep 26, 2024
1 parent d4f6791 commit 6271b55
Showing 1 changed file with 11 additions and 4 deletions.
15 changes: 11 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@
[![Quality Gate Status](https://sonarcloud.io/api/project_badges/measure?project=cssnr_mirror-repository-action&metric=alert_status)](https://sonarcloud.io/summary/new_code?id=cssnr_mirror-repository-action)
[![GitHub Release Version](https://img.shields.io/github/v/release/cssnr/mirror-repository-action?logo=github)](https://github.com/cssnr/mirror-repository-action/releases/latest)
[![GitHub Last Commit](https://img.shields.io/github/last-commit/cssnr/mirror-repository-action?logo=github&logoColor=white&label=updated)](https://github.com/cssnr/mirror-repository-action/graphs/commit-activity)
[![Codeberg Last Commit](https://img.shields.io/gitea/last-commit/cssnr/mirror-repository-action/master?gitea_url=https%3A%2F%2Fcodeberg.org%2F&logo=codeberg&logoColor=white&label=updated)](https://codeberg.org/cssnr/mirror-repository-action)
[![GitHub Top Language](https://img.shields.io/github/languages/top/cssnr/mirror-repository-action?logo=htmx&logoColor=white)](https://github.com/cssnr/mirror-repository-action)
[![GitHub Org Stars](https://img.shields.io/github/stars/cssnr?style=flat&logo=github&logoColor=white)](https://cssnr.github.io/)
[![Discord](https://img.shields.io/discord/899171661457293343?logo=discord&logoColor=white&label=discord&color=7289da)](https://discord.gg/wXy6m2X8wY)
Expand Down Expand Up @@ -58,14 +59,17 @@ jobs:
id: test
uses: cssnr/mirror-repository-action@master
with:
url: https://codeberg.org/shaner/codeberg-mirror
url: https://codeberg.org/cssnr/mirror-repository-action
#host: https://codeberg.org
#owner: shaner
#repo: codeberg-mirror
#owner: cssnr
#repo: mirror-repository-action
username: shaner
password: ${{ secrets.CODEBERG_TOKEN }}
```
> [!IMPORTANT]
> Checkout `with: fetch-depth: 0` is necessary!

# Support

For general help or to request a feature, see:
Expand Down Expand Up @@ -99,7 +103,10 @@ For a full list of current projects to support visit: [https://cssnr.github.io/]
# Development

1. Install `act`: https://nektosact.com/installation/index.html
2. Run `act -j test`
2. List Workflows: `act -l`
3. Run a Workflow: `act -j test`

If you need files from .gitignore use: `--use-gitignore=false`

For advanced using with things like secrets, variables and context see: https://nektosact.com/usage/index.html

Expand Down

0 comments on commit 6271b55

Please sign in to comment.