Skip to content

ci: add actionlint workflow and fix reported issues - #2360

Merged
jnioche merged 1 commit into
mainfrom
add-actionlint
Nov 30, 2026
Merged

jnioche merged 1 commit into
mainfrom
add-actionlint

Conversation

@jnioche

@jnioche jnioche commented Nov 30, 2026 •

Copy link
Copy Markdown
Contributor

Add a workflow that runs actionlint 1.7.12 on pull requests and pushes to main touching .github/workflows.

Fix the findings it reports on the existing workflows:

  • maven.yml: the rat job has no matrix, so the JDK step name no longer references matrix.java.
  • snapshots.yaml: quote $GITHUB_OUTPUT (SC2086) and silence SC2016 on the Maven command, where ${project.version} must stay unexpanded by the shell.

Add a workflow that runs actionlint 1.7.12 on pull requests and pushes
to main touching .github/workflows.

Fix the findings it reports on the existing workflows:
- maven.yml: the rat job has no matrix, so the JDK step name no longer
  references matrix.java.
- snapshots.yaml: quote $GITHUB_OUTPUT (SC2086) and silence SC2016 on
  the Maven command, where ${project.version} must stay unexpanded by
  the shell.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
@jnioche jnioche added this to the 4.0.1 milestone Nov 30, 2026
@jnioche

jnioche commented Nov 30, 2026

Copy link
Copy Markdown
Contributor Author

Claude Code carbon report · developing this PR

CO2e Cost* Tokens (in + cache write + out) Cache reads Sessions
4 g $0.17 31k 304k 1

≈ 0.02 km driven by car (200 g/km, world avg)

Token detail per model
Model Sessions Uncached input Cache write Cache read Output CO2e Cost
claude-sonnet-5-5 1 16 28k 304k 2k 4 g $0.17

*API list price of the equivalent usage; a subscription bills its flat fee instead.

Local Claude Code sessions on add-actionlint · Estimated by claude-carbon · methodology · turn off · team view · tokenclimate.com

@jnioche jnioche added the github_actions Pull requests that update GitHub Actions code label Nov 30, 2026
@jnioche
jnioche merged commit bec2098 into main Nov 30, 2026
3 checks passed
@jnioche
jnioche deleted the add-actionlint branch December 3, 2026 14:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

github_actions Pull requests that update GitHub Actions code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants