Skip to content

Conversation

@spbsoluble
Copy link
Contributor

No description provided.

@spbsoluble spbsoluble force-pushed the screenshots branch 7 times, most recently from 8996b6b to bbc59ce Compare April 29, 2025 20:25
@spbsoluble spbsoluble changed the base branch from release-3.2 to main July 7, 2025 18:22
@spbsoluble spbsoluble requested review from Copilot and doebrowsk July 7, 2025 18:23
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull Request Overview

Adds support for passing authentication and Command API parameters through to the doctool for screenshot generation and updates workflows accordingly.

  • Introduce new Entra and Command API credentials as workflow inputs/secrets
  • Update the reusable generate-readme call to the screenshots branch and forward new parameters
  • Re-enable the Polaris scan job that was previously commented out

Reviewed Changes

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

File Description
.github/workflows/starter.yml Added Entra and Command API credential inputs/secrets; updated generate-readme call to @screenshots; un-commented Polaris scan job
.github/workflows/generate-readme.yml Added credential secrets and inputs to workflow_call; wired them into the launch-doctool step
Comments suppressed due to low confidence (5)

.github/workflows/generate-readme.yml:57

  • This step references repository variables instead of the workflow input. It should use ${{ inputs.command_token_url }} to pass through the command_token_url input.
          command_token_url: ${{ vars.DOCTOOL_COMMAND_TOKEN_URL }}

.github/workflows/generate-readme.yml:58

  • This step references vars.DOCTOOL_COMMAND_HOSTNAME instead of the declared input. It should use ${{ inputs.command_hostname }}.
          command_hostname: ${{ vars.DOCTOOL_COMMAND_HOSTNAME }}

.github/workflows/generate-readme.yml:59

  • This step references vars.DOCTOOL_COMMAND_BASE_API_PATH instead of the input. It should use ${{ inputs.command_base_api_path }}.
          command_base_api_path: ${{ vars.DOCTOOL_COMMAND_BASE_API_PATH }}

.github/workflows/starter.yml:161

  • [nitpick] Pinning to a floating branch/tag like screenshots can lead to unpredictable builds. Consider using a semver tag or commit SHA for reproducibility.
    uses: Keyfactor/actions/.github/workflows/generate-readme.yml@screenshots

.github/workflows/generate-readme.yml:8

  • [nitpick] The same Entra and Command API credential definitions are duplicated across workflows. Consider centralizing them in a shared reusable workflow or using YAML anchors to reduce duplication.
      entra_username:

@spbsoluble spbsoluble changed the base branch from main to v3.2 July 7, 2025 18:33
@spbsoluble spbsoluble changed the base branch from v3.2 to main July 7, 2025 18:34
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.

2 participants