Skip to content

Update Godot export action pin and configure Codecov token - #736

Merged
ikostan merged 4 commits into
mainfrom
maintenance
Jun 2, 2026
Merged

ikostan merged 4 commits into
mainfrom
maintenance

Conversation

@ikostan

@ikostan ikostan commented Jun 2, 2026

Copy link
Copy Markdown
Owner

name: Default Pull Request Template
about: Suggesting changes to SkyLockAssault
title: ''
labels: ''
assignees: ''

Description

What does this PR do? (e.g., "Fixes player jump physics in level 2" or "Adds
new enemy AI script")

Related Issue

Closes #ISSUE_NUMBER (if applicable)

Changes

  • List key changes here (e.g., "Updated Jump.gd to use Godot 4.4's new Tween
    system")
  • Any breaking changes? (e.g., "Deprecated old signal; migrate to new one")

Testing

  • Ran the game in Godot v4.5 editor—describe what you tested (e.g., "Jump
    works on Win10 with 60 FPS")
  • Any new unit tests added? (Link to test scene if yes)
  • Screenshots/GIFs if UI-related: (Attach below)

Checklist

  • Code follows Godot style guide (e.g., snake_case for variables)
  • No console errors in editor/output
  • Ready for review!

Additional Notes

Anything else? (e.g., "Tested on Win10 64-bit; needs Linux validation")

Summary by Sourcery

Update CI workflows to use the latest pinned Godot export action and ensure test reports upload correctly to Codecov.

CI:

  • Bump the pinned SHA of the firebelley/godot-export GitHub Action across browser tests, CodeQL analysis, and itch.io deployment workflows.
  • Set the Codecov upload step in GUT tests workflow to use the CODECOV_TOKEN secret for authenticated report uploads.

Summary by CodeRabbit

  • Chores
    • Updated build and export automation dependencies to maintain compatibility and reliability.
    • Enhanced CI/CD pipeline security by properly configuring token access for automated code coverage reporting.

dependabot Bot and others added 4 commits June 2, 2026 03:14
Bumps [firebelley/godot-export](https://github.com/firebelley/godot-export) from 7.0.0 to 8.0.0.
- [Release notes](https://github.com/firebelley/godot-export/releases)
- [Commits](firebelley/godot-export@9305776...615a6f7)

---
updated-dependencies:
- dependency-name: firebelley/godot-export
  dependency-version: 8.0.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
…lley/godot-export-8.0.0

Bump firebelley/godot-export from 7.0.0 to 8.0.0
@ikostan ikostan self-assigned this Jun 2, 2026
@ikostan ikostan added CI/CD dependencies Pull requests that update a dependency file github actions Pull requests that update GitHub Actions code dependabot github_actions Pull requests that update GitHub Actions code labels Jun 2, 2026
@ikostan ikostan moved this to In Progress in Sky Lock Assault Project Jun 2, 2026
@sourcery-ai

sourcery-ai Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor
Reviewer's guide (collapsed on small PRs)

Reviewer's Guide

Updates CI workflows to use a newer pinned revision of the firebelley/godot-export GitHub Action and ensures the Codecov upload step has the required token set via environment variables.

Flow diagram for updated CI export and Codecov steps

flowchart TD
  Start[CI workflow triggered] --> ExportWeb[Run firebelley/godot-export@615a6f7afc22d6266bf55c17748fb07447e8bdab]
  ExportWeb --> BuildArtifacts[Generate web build artifacts]
  BuildArtifacts --> CodecovUpload[Upload coverage with Codecov action]
  CodecovUpload --> EnvToken[Use env CODECOV_TOKEN from secrets]
  EnvToken --> End[CI job completes]
Loading

File-Level Changes

Change Details Files
Bump the pinned firebelley/godot-export GitHub Action SHA across workflows to a newer revision.
  • Update the godot-export action reference in the browser_test workflow to the new commit SHA while keeping Godot 4.5 download URLs unchanged.
  • Update the godot-export action reference in the codeql workflow to the new commit SHA, preserving existing Godot build URLs and comments.
  • Update the godot-export action reference in the deploy_to_itch workflow to the new commit SHA, keeping export configuration intact.
.github/workflows/browser_test.yml
.github/workflows/codeql.yml
.github/workflows/deploy_to_itch.yml
Fix Codecov upload configuration so reports are sent with the explicit token from repository secrets.
  • Set CODECOV_TOKEN environment variable for the Codecov upload step in the gut_tests workflow, sourcing it from GitHub Actions secrets.
  • Leave the rest of the test report discovery and upload logic unchanged.
.github/workflows/gut_tests.yml

Tips and commands

Interacting with Sourcery

  • Trigger a new review: Comment @sourcery-ai review on the pull request.
  • Continue discussions: Reply directly to Sourcery's review comments.
  • Generate a GitHub issue from a review comment: Ask Sourcery to create an
    issue from a review comment by replying to it. You can also reply to a
    review comment with @sourcery-ai issue to create an issue from it.
  • Generate a pull request title: Write @sourcery-ai anywhere in the pull
    request title to generate a title at any time. You can also comment
    @sourcery-ai title on the pull request to (re-)generate the title at any time.
  • Generate a pull request summary: Write @sourcery-ai summary anywhere in
    the pull request body to generate a PR summary at any time exactly where you
    want it. You can also comment @sourcery-ai summary on the pull request to
    (re-)generate the summary at any time.
  • Generate reviewer's guide: Comment @sourcery-ai guide on the pull
    request to (re-)generate the reviewer's guide at any time.
  • Resolve all Sourcery comments: Comment @sourcery-ai resolve on the
    pull request to resolve all Sourcery comments. Useful if you've already
    addressed all the comments and don't want to see them anymore.
  • Dismiss all Sourcery reviews: Comment @sourcery-ai dismiss on the pull
    request to dismiss all existing Sourcery reviews. Especially useful if you
    want to start fresh with a new review - don't forget to comment
    @sourcery-ai review to trigger a new review!

Customizing Your Experience

Access your dashboard to:

  • Enable or disable review features such as the Sourcery-generated pull request
    summary, the reviewer's guide, and others.
  • Change the review language.
  • Add, remove or edit custom review instructions.
  • Adjust other review settings.

Getting Help

@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown
Contributor

Review Change Stack

📝 Walkthrough

Walkthrough

This PR updates GitHub Actions workflow configuration across four files. Three workflows synchronize their pinned revision of the firebelley/godot-export action to the same new commit SHA. Simultaneously, the gut_tests workflow adds Codecov secret token exposure via environment variable for the Codecov reporting step.

Changes

Workflow configuration updates

Layer / File(s) Summary
Update godot-export action across workflows
.github/workflows/browser_test.yml, .github/workflows/codeql.yml, .github/workflows/deploy_to_itch.yml
Three workflows update the firebelley/godot-export GitHub Action to use a new pinned commit SHA in their Web export steps.
Add Codecov token environment variable
.github/workflows/gut_tests.yml
Codecov step now receives the CODECOV_TOKEN secret via step-level environment variable.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

Possibly related PRs

  • ikostan/SkyLockAssault#481: Updates pinned GitHub Action uses: commit SHAs across workflows in .github/workflows/codeql.yml and other workflow files.

Poem

🐰 Four workflows, a gentle tide,
New action SHA, secrets to confide,
Godot exports in sync, a hop and bound,
Codecov tokens safely sound! 🎯

🚥 Pre-merge checks | ✅ 3 | ❌ 2

❌ Failed checks (1 warning, 1 inconclusive)

Check name Status Explanation Resolution
Description check ⚠️ Warning The PR description lacks concrete details about what was changed and why; it contains placeholder text and checkboxes without actual information filled in. Replace placeholder text with specific details: describe what the firebelley/godot-export version bump changes, explain why the Codecov token was added to gut_tests.yml, and note any testing performed.
Title check ❓ Inconclusive The title 'Maintenance' is vague and generic, providing no meaningful information about what the PR actually changes. Use a more descriptive title such as 'Update Godot export action and Codecov configuration' to clearly convey the main changes.
✅ Passed checks (3 passed)
Check name Status Explanation
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
📝 Generate docstrings
  • Create stacked PR
  • Commit on current branch
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch maintenance

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands and usage tips.

@deepsource-io

deepsource-io Bot commented Jun 2, 2026

Copy link
Copy Markdown

DeepSource Code Review

We reviewed changes in 5f7e7de...a7d70a1 on this pull request. Below is the summary for the review, and you can see the individual issues we found as inline review comments.

See full review on DeepSource ↗

PR Report Card

Overall Grade   Security  

Reliability  

Complexity  

Hygiene  

Code Review Summary

Analyzer Status Updated (UTC) Details
Python Jun 2, 2026 5:04a.m. Review ↗
JavaScript Jun 2, 2026 5:04a.m. Review ↗

Important

AI Review is run only on demand for your team. We're only showing results of static analysis review right now. To trigger AI Review, comment @deepsourcebot review on this thread.

@sourcery-ai sourcery-ai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Hey - I've reviewed your changes and they look great!


Sourcery is free for open source - if you like our reviews please consider sharing them ✨
Help me be more useful! Please click 👍 or 👎 on each comment and I'll use the feedback to improve your reviews.

@ikostan

ikostan commented Jun 2, 2026

Copy link
Copy Markdown
Owner Author

@sourcery-ai title

@sourcery-ai sourcery-ai Bot changed the title Maintenance Update Godot export action pin and configure Codecov token Jun 2, 2026

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Caution

Some comments are outside the diff and can’t be posted inline due to platform limitations.

⚠️ Outside diff range comments (1)
.github/workflows/gut_tests.yml (1)

68-73: ⚠️ Potential issue | 🟡 Minor | ⚡ Quick win

Make Codecov token usage consistent (env var is already sufficient)

The workflow exports CODECOV_TOKEN, and codecov upload-process will automatically use CODECOV_TOKEN from the environment, so passing --token ${{ secrets.CODECOV_TOKEN }} is redundant and leaves inconsistent token sourcing. Remove the --token flag (or switch to --token $CODECOV_TOKEN).

Suggested change (remove redundant flag)
          REPORT_FILE="${{ steps.find_report.outputs.latest_report }}/gut_junit.xml"
          if [ -f "$REPORT_FILE" ]; then
-            ./codecov upload-process --token ${{ secrets.CODECOV_TOKEN }} -f "$REPORT_FILE" --name "GUT Test Report" --flag GUT --report-type test_results
+            ./codecov upload-process -f "$REPORT_FILE" --name "GUT Test Report" --flag GUT --report-type test_results
           else
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In @.github/workflows/gut_tests.yml around lines 68 - 73, Remove the redundant
explicit token flag from the codecov invocation so it relies on the
already-exported CODECOV_TOKEN environment variable; update the ./codecov
upload-process invocation (the line referencing REPORT_FILE and calling
upload-process) to drop --token ${{ secrets.CODECOV_TOKEN }} and keep the
remaining flags (--name, --flag, --report-type) so the command uses the
environment-provided CODECOV_TOKEN.
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Outside diff comments:
In @.github/workflows/gut_tests.yml:
- Around line 68-73: Remove the redundant explicit token flag from the codecov
invocation so it relies on the already-exported CODECOV_TOKEN environment
variable; update the ./codecov upload-process invocation (the line referencing
REPORT_FILE and calling upload-process) to drop --token ${{
secrets.CODECOV_TOKEN }} and keep the remaining flags (--name, --flag,
--report-type) so the command uses the environment-provided CODECOV_TOKEN.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Repository UI

Review profile: CHILL

Plan: Pro

Run ID: 072fcddf-507c-425b-9281-65017faec5c5

📥 Commits

Reviewing files that changed from the base of the PR and between 5f7e7de and a7d70a1.

📒 Files selected for processing (4)
  • .github/workflows/browser_test.yml
  • .github/workflows/codeql.yml
  • .github/workflows/deploy_to_itch.yml
  • .github/workflows/gut_tests.yml
📜 Review details
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (4)
  • GitHub Check: GDUnit4 Unit Tests / unit-test
  • GitHub Check: CI/CD Infrastructure Tests / Test Deployment Scripts
  • GitHub Check: GUT Unit Tests / unit-test
  • GitHub Check: Sourcery review
🧰 Additional context used
🧠 Learnings (2)
📚 Learning: 2026-04-28T02:11:45.806Z
Learnt from: ikostan
Repo: ikostan/SkyLockAssault PR: 588
File: .github/workflows/deploy_to_itch.yml:44-56
Timestamp: 2026-04-28T02:11:45.806Z
Learning: When a CI workflow edits Godot's `project.godot` (INI) to inject custom ProjectSettings values, insert the setting key under the correct section header that matches the `game/` (or other) root in the ProjectSettings path. For example, `ProjectSettings.get_setting("game/security/save_salt", ...)` expects the INI entry under `[game]` with key `security/save_salt` (i.e., `[game]` then `security/save_salt=...`), not under `[application]`. Otherwise the lookup will fall back to the default value at runtime.

Applied to files:

  • .github/workflows/codeql.yml
  • .github/workflows/deploy_to_itch.yml
  • .github/workflows/browser_test.yml
  • .github/workflows/gut_tests.yml
📚 Learning: 2026-05-20T00:01:27.632Z
Learnt from: ikostan
Repo: ikostan/SkyLockAssault PR: 654
File: .github/workflows/browser_test.yml:99-101
Timestamp: 2026-05-20T00:01:27.632Z
Learning: In this repository’s GitHub Actions workflows, treat supply-chain pinning as follows: 
- **Do not flag** steps that use **first-party** GitHub-owned actions under `actions/*` (e.g., `actions/checkout`, `actions/cache`) when they use a **major version tag** like `v6` / `v5`.
- **Do flag** **third-party** actions (anything not under `actions/*`, e.g., `firebelley/godot-export`, `codecov/codecov-action`) when they use an unpinned ref such as `vX` or `main` instead of being pinned to a **commit SHA** (i.e., `@<commit-sha>`).

Applied to files:

  • .github/workflows/codeql.yml
  • .github/workflows/deploy_to_itch.yml
  • .github/workflows/browser_test.yml
  • .github/workflows/gut_tests.yml
🔇 Additional comments (3)
.github/workflows/codeql.yml (1)

41-41: Action pin updated consistently with other workflows.

This workflow uses the same commit SHA as browser_test.yml. Please review the verification comment in browser_test.yml (line 48) regarding the v8.0.0 upgrade to ensure no breaking changes affect this workflow's configuration.

.github/workflows/deploy_to_itch.yml (1)

64-64: Action pin updated consistently with other workflows.

This workflow uses the same commit SHA as the other workflows in this PR. Note that this workflow uses archive_output: true (line 70), which differs from the other two workflows. Please review the verification comment in browser_test.yml (line 48) to ensure v8.0.0 doesn't introduce breaking changes to archive output behavior.

.github/workflows/browser_test.yml (1)

48-48: Confirm firebelley/godot-export@615a6f7afc22d6266bf55c17748fb07447e8bdab maps to v8.0.0 and check breaking changes

  • 615a6f7afc22d6266bf55c17748fb07447e8bdab is tagged as v8.0.0.
  • The v8.0.0 release notes only mention bumping the action to Node 24 and don’t document any breaking changes affecting inputs/outputs/behavior.

@ikostan
ikostan merged commit fe57a22 into main Jun 2, 2026
24 checks passed
@github-project-automation github-project-automation Bot moved this from In Progress to Done in Sky Lock Assault Project Jun 2, 2026
@coderabbitai coderabbitai Bot mentioned this pull request Jun 12, 2026
8 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

CI/CD dependabot dependencies Pull requests that update a dependency file github actions Pull requests that update GitHub Actions code github_actions Pull requests that update GitHub Actions code

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant