Skip to content

Commit

Permalink
doc
Browse files Browse the repository at this point in the history
  • Loading branch information
yegor256 committed May 21, 2024
1 parent 903513d commit 7f5bc05
Showing 1 changed file with 21 additions and 7 deletions.
28 changes: 21 additions & 7 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,35 +4,49 @@
[![Hits-of-Code](https://hitsofcode.com/github/zerocracy/judges-action)](https://hitsofcode.com/view/github/zerocracy/judges-action)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://github.com/zerocracy/judges-action/blob/master/LICENSE.txt)

Add it to your project:
Add this `zerocracy.yml` file to your GitHub repository
at the `.github/workflows/` directory
(replace `foo` with the name of your team):

```yaml
name: zerocracy
on:
push:
'on':
schedule:
- cron: '0,10,20,30,50,50 * * * *'
jobs:
zerocracy:
runs-on: ubuntu-22.04
steps:
- uses: actions/checkout@v4
- uses: actions/cache@v4
with:
path: recent.fb
path: foo.fb
key: zerocracy
restore-keys: zerocracy
- uses: zerocracy/judges-action@master
with:
options: |
token=${{ secrets.GITHUB_TOKEN }}
repositories=yegor256/judges
repositories=yegor256/judges,yegor256/*,-yegor256/test
factbase: foo.fb
- uses: zerocracy/pages-action@master
with:
factbase: recent.fb
- uses: JamesIves/github-pages-deploy-action@v4.6.0
with:
branch: gh-pages
folder: zerocracy-pages
folder: pages
clean: false
```
Once the file is added, GitHub will start running this job every ten
minutes, collecting information about most important activities of
your programmers. The plugin will give them awards for good things
they do (like fixing bugs) and will punish them by deducting points
for bad things (like delays in reviewing pull requests).
The plugin will also generate a summary `foo.html` file, which will
be automatically deployed to the `gh-pages` branch.

## How to Contribute

In order to test this action, just run (provided, you have
Expand Down

0 comments on commit 7f5bc05

Please sign in to comment.