Skip to content

Remove github_token input, correct for SBOM file placement#1391

Merged
kstribrnAmzn merged 2 commits intoFreeRTOS:mainfrom
kstribrnAmzn:gitSecretToken
Mar 30, 2026
Merged

Remove github_token input, correct for SBOM file placement#1391
kstribrnAmzn merged 2 commits intoFreeRTOS:mainfrom
kstribrnAmzn:gitSecretToken

Conversation

@kstribrnAmzn
Copy link
Copy Markdown
Member

@kstribrnAmzn kstribrnAmzn commented Mar 30, 2026

Description

Inputs need to be literal, static values.
Instead we should simply use ${{ secrets.GITHUB_TOKEN }} which is resolved at runtime

Update the SBOM commit step to copy the SBOM generated files into the current working directory
rather than the github root directory.

Test Steps

Ran the workflow on my fork - https://github.com/kstribrnAmzn/FreeRTOS-Kernel/actions/runs/23773106587/job/69268848671

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

Inputs need to be literal, static values.
Instead we should simply use `${{ secrets.GITHUB_TOKEN }}`
which is resolved at runtime
felicityzhao9
felicityzhao9 previously approved these changes Mar 30, 2026
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 30, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 91.37%. Comparing base (386c1bc) to head (d43e358).
⚠️ Report is 33 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #1391      +/-   ##
==========================================
- Coverage   91.46%   91.37%   -0.09%     
==========================================
  Files           6        6              
  Lines        3256     3259       +3     
  Branches      899      902       +3     
==========================================
  Hits         2978     2978              
  Misses        132      132              
- Partials      146      149       +3     
Flag Coverage Δ
unittests 91.37% <ø> (-0.09%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The SBOM generator currently outputs the files
at the workspace root.
@kstribrnAmzn kstribrnAmzn marked this pull request as draft March 30, 2026 23:39
@sonarqubecloud
Copy link
Copy Markdown

@kstribrnAmzn kstribrnAmzn changed the title Remove github_token input Remove github_token input, correct for SBOM file placement Mar 30, 2026
@kstribrnAmzn kstribrnAmzn marked this pull request as ready for review March 30, 2026 23:45
@kstribrnAmzn kstribrnAmzn enabled auto-merge (squash) March 30, 2026 23:47
@kstribrnAmzn kstribrnAmzn merged commit 2624889 into FreeRTOS:main Mar 30, 2026
17 checks passed
@kstribrnAmzn kstribrnAmzn deleted the gitSecretToken branch March 30, 2026 23:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants