Skip to content
Open
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
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ jobs:
fetch-depth: 0

# Installs the tool versions pinned in mise.toml (bun, node)
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0

- name: Install dependencies
run: bun install --frozen-lockfile
Expand All @@ -40,7 +40,7 @@ jobs:
run: bun run build

- name: Upload coverage to Codecov
uses: codecov/codecov-action@e79a6962e0d4c0c17b229090214935d2e33f8354 # v6.0.1
uses: codecov/codecov-action@fb8b3582c8e4def4969c97caa2f19720cb33a72f # v7.0.0

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚪ LOW RISK

Suggestion: This step will fail on pull requests from forks because secrets are unavailable. To avoid confusing failure indicators in the GitHub UI, consider guarding the step with an if condition.

Try running the following prompt in your coding agent:

In .github/workflows/ci.yml, add if: ${{ secrets.CODECOV_TOKEN != '' }} to the 'Upload coverage to Codecov' step.

with:
files: coverage/lcov.info
token: ${{ secrets.CODECOV_TOKEN }}
Expand All @@ -50,6 +50,6 @@ jobs:
# Skipped until the SONAR_TOKEN secret is configured
# (secrets aren't readable in step `if`, so check via env)
if: ${{ env.SONAR_TOKEN != '' }}
uses: SonarSource/sonarqube-scan-action@7006c4492b2e0ee0f816d36501671557c97f5995 # v8.1.0
uses: SonarSource/sonarqube-scan-action@713881670b6b3676cda39549040e2d88c70d582e # v8.2.0
env:
SONAR_HOST_URL: https://sonarcloud.io
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:

# Installs the tool versions pinned in mise.toml (bun + node, which
# provides the npm CLI used to publish).
- uses: jdx/mise-action@1648a7812b9aeae629881980618f079932869151 # v4.0.1
- uses: jdx/mise-action@dba19683ed58901619b14f395a24841710cb4925 # v4.1.0

- name: Install dependencies
run: bun install --frozen-lockfile
Expand Down