Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: CI

on:
push:
branches:
- main
pull_request:
branches:
- main

jobs:
audit:
runs-on: ubuntu-latest
permissions:
contents: read
steps:
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # ratchet:actions/checkout@v6

- name: Set up Homebrew
uses: homebrew/actions/setup-homebrew@59e6b20d96df1a3c9ccb0aa402676e01a4cc6ff3 # ratchet:homebrew/actions/setup-homebrew@master

- name: Audit and style-check casks
run: |
shopt -s nullglob
casks=(Casks/*.rb)
if [[ ${#casks[@]} -eq 0 ]]; then
echo "No cask files found, skipping audit."
exit 0
fi
brew audit --cask "${casks[@]}"
brew style "${casks[@]}"
Empty file added Casks/.gitkeep
Empty file.
Empty file added Formula/.gitkeep
Empty file.
42 changes: 41 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,42 @@
# homebrew-tap
Official Homebrew tap for OWASP CRS tools (crs-toolchain and related utilities).

Official Homebrew tap for OWASP CRS tools.

This tap provides Homebrew cask formulae for [crs-toolchain](https://github.com/coreruleset/crs-toolchain) and other OWASP CRS utilities. Cask formulae are automatically updated via [GoReleaser](https://goreleaser.com/) on each release of `crs-toolchain` or other tools in the OWASP CRS organisation.

## Installation

Add this tap to Homebrew:

```sh
brew tap coreruleset/tap
```

Then install a tool, for example `crs-toolchain`:

```sh
brew install --cask crs-toolchain
```

## Upgrade

```sh
brew upgrade --cask crs-toolchain
```

## Uninstall

```sh
brew uninstall --cask crs-toolchain
```

To also remove the tap:

```sh
brew untap coreruleset/tap
```

## Links

- [crs-toolchain repository](https://github.com/coreruleset/crs-toolchain)
- [OWASP CRS project site](https://coreruleset.org)
7 changes: 7 additions & 0 deletions renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"$schema": "https://docs.renovatebot.com/renovate-schema.json",
"extends": [
"github>coreruleset/renovate-config",
"schedule:weekly"
]
}