FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

move use of input variables into env vars by nickfyson · Pull Request #2857 · github/codeql-action · GitHub

move use of input variables into env vars - #2857

Merged
nickfyson merged 1 commit into
mainfrom
nickfyson/address-vulns
Apr 9, 2025
Merged

nickfyson merged 1 commit into
mainfrom
nickfyson/address-vulns

Conversation

nickfyson commented Apr 9, 2025
edited
Loading

Copy link
Copy Markdown
Contributor

This PR moves a number of uses of ${{ inputs.foo_bar }} into environment variables for the step in question.

Merge / deployment checklist

  • Confirm this change is backwards compatible with existing workflows.
  • Confirm the readme has been updated if necessary.
  • Confirm the changelog has been updated if necessary.

Copilot AI review requested due to automatic review settings April 9, 2025 13:14
nickfyson requested a review from a team as a code owner April 9, 2025 13:14

Copilot AI 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.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Pull Request Overview

This PR refactors GitHub Actions workflows by moving direct input variable usage into environment variables for improved readability and maintainability.

  • In the release-branches action, inputs for "major_version" and "latest_tag" are now set as environment variables.
  • In the prepare-test action, inputs for "version" and "use-all-platform-bundle" are similarly moved into environment variables and used in conditional checks.

Reviewed Changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated no comments.

File Description
.github/actions/release-branches/action.yml Introduces env vars for MAJOR_VERSION and LATEST_TAG, and updates command args
.github/actions/prepare-test/action.yml Adds env vars for VERSION and USE_ALL_PLATFORM_BUNDLE, and updates comparison logic

nickfyson merged commit c7dbb20 into main Apr 9, 2025
nickfyson deleted the nickfyson/address-vulns branch April 9, 2025 15:05
github-actions Bot mentioned this pull request Apr 23, 2025
8 tasks
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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants


Back | FazBrowse Home | New Git URL