Skip to content

Updated actions/checkout version and fixed yaml validator#126

Open
ruokun-niu wants to merge 2 commits into
drasi-project:mainfrom
ruokun-niu:drasi-server-workflow-upgrade
Open

Updated actions/checkout version and fixed yaml validator#126
ruokun-niu wants to merge 2 commits into
drasi-project:mainfrom
ruokun-niu:drasi-server-workflow-upgrade

Conversation

@ruokun-niu

@ruokun-niu ruokun-niu commented Jun 15, 2026

Copy link
Copy Markdown
Collaborator

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:

  • Upgraded all uses of actions/upload-artifact and actions/download-artifact from v4 to v5 in workflow files, including .github/workflows/release.yaml, .github/workflows/pr-first-approval-label.yml, and others.
  • Upgraded actions/checkout from v4 to v6 in relevant workflow files for the latest features and fixes.

Maintenance and Lock File Updates:

  • Updated the validate-yaml-snippets.lock.yml file 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

  • This pull request fixes a bug in Drasi and has an approved issue (issue link required).
  • This pull request adds or changes features of Drasi and has an approved issue (issue link required).
  • This pull request is a minor refactor, code cleanup, test improvement, or other maintenance task and doesn't change the functionality of Drasi (issue link optional).

Fixes: #122 #123

Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
Signed-off-by: ruokun-niu <ruokunniu@gmail.com>
@ruokun-niu ruokun-niu requested review from a team and Copilot June 15, 2026 00:03
@ruokun-niu ruokun-niu self-assigned this Jun 15, 2026

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.

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-artifact usages from v4 to v5 across release and PR-label workflows.
  • Bumped actions/checkout to v6 where applicable, and updated Docker actions (setup-buildx-action, login-action) to v4 in relevant workflows.
  • Updated the YAML snippet validator prompt and regenerated the compiled validate-yaml-snippets.lock.yml workflow.

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*)
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.

Review and Update node.js version in the release workflow

2 participants