Skip to content

Commit

Permalink
Should work
Browse files Browse the repository at this point in the history
  • Loading branch information
aisrael committed Dec 30, 2024
1 parent bebbfa8 commit 0fce3c5
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 10 deletions.
15 changes: 5 additions & 10 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ You can provide the access token to ghctl in one of the following ways:
- explicitly pass it using the `--access-token` option


### Download the latest release binary
### Download the latest release binary

You can download the latest release binary (built for Debian Bookworm / Ubuntu 22.04 ) from the [Releases](https://github.com/gitsudo-io/ghctl/releases) page, using the GitHub CLI (`gh`) or just `curl`:

Expand All @@ -37,7 +37,7 @@ curl -L https://github.com/gitsudo-io/ghctl/releases/download/v0.3.1/ghctl > ghc

Then make the file executable (`chmod u+x ghctl`) and place it in your `$PATH`.


### Install using Cargo

To install the `ghctl` binary using Cargo, you will need to have Rust 1.66.0 or later installed ([rustup](https://rustup.rs/)).
Expand Down Expand Up @@ -99,21 +99,16 @@ Will output something like:
```yaml
teams:
a-team: maintain
environments:
gigalixir:
reviewers:
- aisrael
- gitsudo-io/a-team
branch_protection_rules:
main:
require_pull_request:
required_approving_review_count: 1
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_status_checks:
strict: false
strict: true
contexts:
- mix/test
- test
enforce_admins: false
```
Expand Down Expand Up @@ -273,7 +268,7 @@ For example, given the following workflow:
```yaml
name: Configure ghctl repository
on:
on:
push:
workflow_dispatch:
Expand Down
4 changes: 4 additions & 0 deletions features/config.feature
Original file line number Diff line number Diff line change
Expand Up @@ -17,5 +17,9 @@ Feature: Repository management features
required_approving_review_count: 1
dismiss_stale_reviews: false
require_code_owner_reviews: false
required_status_checks:
strict: true
contexts:
- test
enforce_admins: false
```

0 comments on commit 0fce3c5

Please sign in to comment.