8000 ci: install ripgrep, grant guards job pull-requests:read by simon-inkie · Pull Request #4 · simon-inkie/inkie-deck · GitHub
[go: up one dir, main page]

Skip to content
8000
8000
Merged
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
10 changes: 10 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,10 @@ jobs:
- name: Install dependencies
run: pnpm install --frozen-lockfile

# dashes.test.ts shells out to rg; ubuntu-latest doesn't carry it.
- name: Install ripgrep
run: sudo apt-get update && sudo apt-get install -y ripgrep

- name: Typecheck
run: pnpm typecheck

Expand All @@ -53,6 +57,12 @@ jobs:

guards:
runs-on: ubuntu-latest
# gitleaks-action reads the PR's commit list via the API; the default
# GITHUB_TOKEN for a pull_request run on a private repo doesn't carry
# pull-requests:read unless a job grants it explicitly.
permissions:
contents: read
pull-requests: read
steps:
- uses: actions/checkout@v4
with:
Expand Down
Loading
0