ci: actionlint#207
Merged
guitarrapc merged 17 commits intomainfrom Mar 25, 2025
Merged
Conversation
…request, action=opened)
…request_target, action=opened)
…request, action=synchronize)
…request_target, action=synchronize)
…request, action=synchronize)
…request_target, action=synchronize)
There was a problem hiding this comment.
Pull Request Overview
This PR introduces several CI enhancements with an emphasis on static analysis and improved environment variable handling in GitHub Actions workflows and composite actions.
- Added static analysis steps using actionlint, ghalint, and zizmor.
- Migrated several inline input references to environment variables for consistency.
- Updated git push and release workflows to leverage environment variable substitution for better credential and tag handling.
Reviewed Changes
Copilot reviewed 52 out of 53 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/actionlint.yaml | Added comments and new static check steps for actionlint, ghalint, and zizmor. |
| .github/actions/multiline-inputs/action.yaml | Updated how multiline strings are handled via environment variables and a while loop. |
| .github/actions/local-composite-actions/action.yaml | Refactored to use an environment variable (FOO_VALUE) for improved clarity. |
| .github/actions/git-push/action.yaml | Added github-token input and updated git commit and pull commands to use env vars. |
| .github/workflows/create-release.yaml | Refactored tag handling and git remote configuration to use environment variables. |
| .github/workflows/dotnet-build-only-tag.yaml | Changed branch reference echo to use an environment variable. |
| .github/workflows/environment-deploy.yaml | Updated environment variable usage for branch references. |
| .github/workflows/_reusable-dump-context.yaml | Introduced env vars for dynamic file name generation and explicitly set persist-credentials. |
| .github/workflows/file-change-matrix.yaml | Changed echo and splitting logic to rely on a defined environment variable. |
| .github/workflows/dump-context.yaml | Standardized referencing of GitHub context variables via env vars. |
| .github/actions/action-default/action.yaml | Updated output logic to use an environment variable for input fallback. |
| .github/workflows/auto-doc.yaml | Added persist-credentials and github-token handling with git remote updates. |
| .github/workflows/auto-dump-context.yaml | Adjusted pull_request_target configuration with updated comments. |
| .github/workflows/action-default.yaml | Introduced a global environment variable (FOO) for consistency. |
| .github/workflows/_reusable-workflow-nest.yaml | Changed secrets handling to explicitly pass only the required secret. |
| .github/workflows/context-github.yaml | Updated context echo steps to use environment variables for consistency. |
| .github/workflows/create-pr.yaml | Modified commit message interpolation to use an env variable. |
| .github/workflows/_reusable-workflow-called.yaml | Refactored how caller environment and inputs are echoed using env vars. |
| .ghalint.yaml | Minor adjustments in the exclusion policies for static analysis. |
Files not reviewed (1)
- .github/actions/restore-aws-oidc-auth/action.yaml: Language not supported
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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
No description provided.