Skip to content

Update GitHub Actions dependencies to latest versions#1162

Merged
Apollon77 merged 5 commits intomasterfrom
copilot/fix-1132
Sep 20, 2025
Merged

Update GitHub Actions dependencies to latest versions#1162
Apollon77 merged 5 commits intomasterfrom
copilot/fix-1132

Conversation

Copy link
Contributor

Copilot AI commented Aug 31, 2025

This PR updates outdated GitHub Actions dependencies in the adapter creation templates to prevent immediate Dependabot PRs when new adapters are created.

Problem

When creating new adapters, the generated GitHub Actions workflows used outdated action versions, specifically actions/checkout@v2. This caused Dependabot to immediately create PRs suggesting to "Bump actions/checkout from 2 to 4" right after adapter creation.

Changes Made

  1. Updated template file: Changed templates/_github/workflows/dependabot-auto-merge.raw.yml to use actions/checkout@v4 instead of v2
  2. Updated repository workflows: Upgraded .github/workflows/codeql.yml to use github/codeql-action/*@v3 instead of v2
  3. Updated test baselines: All baseline test files now correctly generate workflows with current action versions

Impact

  • Newly created adapters will use current GitHub Actions versions
  • No more immediate Dependabot PRs for outdated actions after adapter creation
  • Repository's own workflows also use latest stable action versions
  • All 102 tests continue to pass

The main issue was in the template file that gets copied when creating new adapters. Now all generated workflows will use actions/checkout@v4, eliminating the specific Dependabot alert mentioned in the issue.

Fixes #1132.

Warning

Firewall rules blocked me from connecting to one or more addresses (expand for details)

I tried to connect to the following addresses, but was blocked by firewall rules:

  • https://api.github.com/repos/ahmadnassri/action-dependabot-auto-merge/releases/latest
    • Triggering command: curl -s REDACTED (http block)

If you need me to access, download, or install something from one of these locations, you can either:


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

Copilot AI and others added 2 commits August 31, 2025 20:05
Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
…dated successfully

Co-authored-by: Apollon77 <11976694+Apollon77@users.noreply.github.com>
Copilot AI changed the title [WIP] Github actions dependencies should be updated Update GitHub Actions dependencies to latest versions Aug 31, 2025
Copilot AI requested a review from Apollon77 August 31, 2025 20:06
@Apollon77 Apollon77 marked this pull request as ready for review August 31, 2025 20:45
@Apollon77 Apollon77 enabled auto-merge (squash) September 20, 2025 12:25
@Apollon77 Apollon77 merged commit 969a4e0 into master Sep 20, 2025
8 checks passed
@Apollon77 Apollon77 deleted the copilot/fix-1132 branch September 20, 2025 12:27
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.

Github actions dependencies should be updated

2 participants