-
-
Notifications
You must be signed in to change notification settings - Fork 0
fix(ci): bump standards pin off unreachable SHA 7fdc2705 (canary) #79
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hyperpolymath
wants to merge
1
commit into
main
Choose a base branch
from
fix/bump-diverged-standards-pin
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🔒 Security & Privacy | 🟠 Major | ⚡ Quick win
🔎 Supported by static analysis
🏁 Script executed:
Repository: hyperpolymath/empty-linter
Length of output: 346
🏁 Script executed:
Repository: hyperpolymath/empty-linter
Length of output: 5284
🌐 Web query:
GitHub Actions official documentation reusable workflows secrets inherit GITHUB_TOKEN secrets context workflow_call💡 Result:
In GitHub Actions, reusable workflows do not automatically receive secrets from the calling workflow. You must explicitly pass them or use the inheritance mechanism [1][2][3]. Regarding the inheritance and use of secrets: 1. secrets: inherit: The
secrets: inheritkeyword allows a calling workflow to pass all of its available secrets (including organization, repository, and environment secrets) to a directly called reusable workflow [4][5][6]. This is intended for use when the calling and called workflows are within the same organization or enterprise boundary [2]. 2. GITHUB_TOKEN: TheGITHUB_TOKENis a special, automatically generated token created for every workflow job [7][8]. Because it is generated per job, it is not passed as a standard "secret" viasecrets: inherit[1]. Instead, theGITHUB_TOKENexists within the context of the running job. A reusable workflow has its ownGITHUB_TOKEN[9]. 3. Permissions for GITHUB_TOKEN: The permissions of theGITHUB_TOKENin a reusable workflow are restricted by the calling workflow's job-levelpermissionsblock [9]. If your reusable workflow requires specific write access (e.g., to create a release or push code), you must ensure that the job calling the reusable workflow has the necessary permissions defined [9]. 4. Security Considerations: Usingsecrets: inheritis a convenient but broad approach that may violate the principle of least privilege by exposing all available repository secrets to the called workflow [10]. It is recommended to use explicit secret mapping (listing specific secrets under thesecretskey) when you want to limit the secrets available to a reusable workflow, especially when calling workflows from less trusted sources or external repositories [10][1][3]. In summary, whilesecrets: inheritpasses standard repository and environment secrets, theGITHUB_TOKENis governed by the permissions set on the calling job and is available to the reusable workflow by default within its own scope, provided the calling job's permissions are sufficient [7][9].Citations:
Replace
secrets: inheritwith an explicit mapping.The reusable workflow reads only the optional
HYPATIA_SCAN_PAT; its job receives its own automaticGITHUB_TOKEN. DeclareHYPATIA_SCAN_PATunderworkflow_call.secrets, then pass only that secret.🤖 Prompt for AI Agents
Source: Linters/SAST tools