Update GitHub Actions questions documentation links and fix syntax errors #460
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.
GitHub reorganized their Actions documentation structure, deprecating
/actions/reference/and/actions/learn-github-actions/paths. This PR updates all affected questions to use current documentation URLs.Changes
Documentation Links Updated (16 questions)
/actions/reference/environment-variables→/actions/writing-workflows/.../store-information-in-variables/actions/learn-github-actions/contexts→/actions/writing-workflows/.../accessing-contextual-information-about-workflow-runs/actions/learn-github-actions/expressions→/actions/writing-workflows/.../evaluate-expressions-in-workflows-and-actions/actions/reference/security/secrets→/actions/security-guides/using-secrets-in-github-actionsDocumentation Links Added (6 questions)
Questions 9, 10, 52, 72, 94 were missing documentation references. Added appropriate GitHub docs links.
Syntax Error Fixed (Question 101)
- name: Upload Failure test report if: failure() && steps.run-tests.outcome == 'failure' - run: actions/upload-artifact@v3 + uses: actions/upload-artifact@v3 with: name: test-reportNode.js Versions Updated (2 questions)
Updated example code from deprecated Node 14/16 to current LTS versions (18/20/22).
Impact
25 of 127 GitHub Actions questions updated. All documentation links now point to current GitHub documentation structure.
Original prompt
✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.