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 7f5bc05 commit 5194791
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/zerocracy.yml
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ name: zerocracy
'on':
push:
# schedule:
# - cron: '0,10,20,30,50,50 * * * *'
# - cron: '0,10,20,30,40,50 * * * *'
concurrency:
group: zerocracy
cancel-in-progress: true
Expand Down
25 changes: 23 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ at the `.github/workflows/` directory
name: zerocracy
'on':
schedule:
- cron: '0,10,20,30,50,50 * * * *'
- cron: '0,10,20,30,40,50 * * * *'
jobs:
zerocracy:
runs-on: ubuntu-22.04
Expand Down Expand Up @@ -47,6 +47,25 @@ 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.

The following options are expected:

* `options` is a list of `k=v` pairs, which are explained below.
* `factbase` is the path of the [Factbase][factbase] file
(where everything is kept)
* `verbose`

The following `k=v` pairs inside the `options` may be important:

* `token=..` is a GitHub token (set it to `${{ secrets.GITHUB_TOKEN }}`)
* `repositories=..` is a comma-separated list of masks that
determine the repositories to manage, where
`yegor256/*` means all repos of the user,
`yegor256/judges` means a specific repo,
and
`-yegor256/judges` means an exclusion of the repo from the list.
* `max_events=..` is the maximum number of GitHub API events to scan
at a time (better don't change it)

## How to Contribute

In order to test this action, just run (provided, you have
Expand All @@ -60,4 +79,6 @@ This should build a new Docker image named `judges-action`
and then run the entire cycle
inside a new Docker container. Obviously, you need to have
[Docker](https://docs.docker.com/get-docker/) installed. The Docker image
will be deleted by the end of Make build.
will be deleted by the end of the build (either success or failure).

[factbase]: https://github.com/yegor256/factbase

0 comments on commit 5194791

Please sign in to comment.