-
Notifications
You must be signed in to change notification settings - Fork 9
43 lines (34 loc) · 919 Bytes
/
audit.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
name: audit
on:
pull_request_target:
branches:
- 'main'
push:
branches:
- '**'
concurrency:
group: ${{ github.head_ref || github.ref_name }}
# cancel-in-progress: true
# permissions: write-all
jobs:
audit:
name: Audit
runs-on: ${{ matrix.os }}
strategy:
matrix:
os: [macos-latest]
steps:
- uses: actions/checkout@v3
- name: Homebrew env
uses: ./.github/actions/homebrew-env
- name: Brew Tap
uses: ./.github/actions/brew-tap
- name: Brew Audit
shell: bash -ieo pipefail {0}
env:
HOMEBREW_DEVELOPER: "1"
HOMEBREW_GITHUB_API_TOKEN: ${{ secrets.HOMEBREW_GITHUB_API_TOKEN }}
run: |
rsync -lrv --exclude=.git "$(pwd)" "$(brew --repository brewforge/chinese)"
cd "$(brew --repository brewforge/chinese)"
./.github/actions/brew-audit/script.sh