Updated actions/checkout version and fixed yaml validator#126
Open
ruokun-niu wants to merge 2 commits into
Open
Updated actions/checkout version and fixed yaml validator#126ruokun-niu wants to merge 2 commits into
ruokun-niu wants to merge 2 commits into
Conversation
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
Contributor
There was a problem hiding this comment.
Pull request overview
This PR updates several GitHub Actions workflows and the gh-aw YAML-snippet validation prompt/lock to newer action versions and to improve YAML snippet validation coverage.
Changes:
- Bumped
actions/upload-artifact/actions/download-artifactusages fromv4tov5across release and PR-label workflows. - Bumped
actions/checkouttov6where applicable, and updated Docker actions (setup-buildx-action,login-action) tov4in relevant workflows. - Updated the YAML snippet validator prompt and regenerated the compiled
validate-yaml-snippets.lock.ymlworkflow.
Reviewed changes
Copilot reviewed 7 out of 7 changed files in this pull request and generated 3 comments.
Show a summary per file
| File | Description |
|---|---|
| .github/workflows/validate-yaml-snippets.md | Expands YAML snippet validation guidance and allowed bash commands (including running existing tests). |
| .github/workflows/validate-yaml-snippets.lock.yml | Regenerated compiled gh-aw workflow/lock with updated metadata and allowed command list. |
| .github/workflows/release.yaml | Updates artifact upload/download actions to v5 and Docker actions to v4. |
| .github/workflows/pr-first-approval-label.yml | Updates artifact upload action to v5. |
| .github/workflows/pr-first-approval-label-run.yml | Updates artifact download action to v5. |
| .github/workflows/integration-test-getting-started.yml | Updates checkout action to v6. |
| .github/workflows/docker-build-check.yml | Updates Buildx setup action to v4. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Comment on lines
+18
to
+20
| - "cargo test readme_examples*" | ||
| - "cargo test example_configs*" | ||
| - "cargo test config_parsing_failure*" |
Comment on lines
+51
to
+53
| - `cargo test readme_examples` | ||
| - `cargo test example_configs` | ||
| - `cargo test config_parsing_failure` |
Comment on lines
703
to
+706
| # --allow-tool shell(cargo run -- --config *) | ||
| # --allow-tool shell(cargo test config_parsing_failure*) | ||
| # --allow-tool shell(cargo test example_configs*) | ||
| # --allow-tool shell(cargo test readme_examples*) |
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.
Description
This pull request updates several GitHub Actions workflows to use the latest versions of key actions and makes minor maintenance updates to lock files and workflow snippets. The main focus is on keeping dependencies up-to-date for improved security, stability, and compatibility.
GitHub Actions Version Upgrades:
actions/upload-artifactandactions/download-artifactfromv4tov5in workflow files, including.github/workflows/release.yaml,.github/workflows/pr-first-approval-label.yml, and others.actions/checkoutfromv4tov6in relevant workflow files for the latest features and fixes.Maintenance and Lock File Updates:
validate-yaml-snippets.lock.ymlfile to reflect new action versions and internal metadata, including changes to prompt and config section identifiers.These changes ensure the CI/CD pipeline is using the latest, most secure, and best-supported versions of critical GitHub Actions and maintain consistency across workflow files.
Type of change
Fixes: #122 #123