Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Dec 14, 2025

Notes for Reviewers

Fixes broken workflows from https://github.com/layer5io/docs/actions/runs/20203689310

Description

Two scheduled workflows had syntax errors preventing execution:

Issues Fixed

.github/workflows/generate-keys.yml:

  • Malformed conditional: if: directive incorrectly nested under run: with orphaned echo command
  • Extraneous text appended to commit_author field

.github/workflows/generate-pricing-list.yml:

  • Same malformed conditional as above
  • Invalid action version: actions/checkout@v6 (doesn't exist)
  • Same extraneous text issue

Changes

Before:

- name: Set spreadsheet_uri as environment variable
  run: echo "spreadsheet_uri=https://..." >> $GITHUB_ENV
  if: inputs.spreadsheet_uri != ''
    echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV

After:

- name: Set spreadsheet_uri as environment variable
  run: |
    if [ -n "${{ inputs.spreadsheet_uri }}" ]; then
      echo "spreadsheet_uri=${{ inputs.spreadsheet_uri }}" >> $GITHUB_ENV
    else
      echo "spreadsheet_uri=https://..." >> $GITHUB_ENV
    fi

Also: quoted $spreadsheet_uri in curl commands and corrected checkout action to @v4.

Signed commits

  • Yes, I signed my commits.
Original prompt

Fix this broken workflow - https://github.com/layer5io/docs/actions/runs/20203689310


💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.

Copilot AI self-assigned this Dec 14, 2025
@netlify
Copy link

netlify bot commented Dec 14, 2025

Deploy Preview for bejewelled-pegasus-b0ce81 ready!

Name Link
🔨 Latest commit 99bd2f5
🔍 Latest deploy log https://app.netlify.com/projects/bejewelled-pegasus-b0ce81/deploys/693e55150cd40d0008379a4e
😎 Deploy Preview https://deploy-preview-875--bejewelled-pegasus-b0ce81.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

…cing-list

Co-authored-by: leecalcote <7570704+leecalcote@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix broken workflow in documentation repository [workflows] Fix syntax errors in generate-keys and generate-pricing-list workflows Dec 14, 2025
Copilot AI requested a review from leecalcote December 14, 2025 06:14
@leecalcote leecalcote marked this pull request as ready for review December 14, 2025 06:15
@leecalcote leecalcote merged commit c835a77 into master Dec 14, 2025
5 checks passed
@leecalcote leecalcote deleted the copilot/fix-broken-workflow branch December 14, 2025 06:15
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