mirror of
https://github.com/iakat/aikta.git
synced 2026-09-07 09:02:22 +00:00
[PR #1] Fix CI: Update deprecated GitHub Actions commands and dependencies #1
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
katia/aikta#1
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/iakat/aikta/pull/1
Author: @Copilot
Created: 7/8/2025
Status: 🔄 Open
Base:
main← Head:copilot/fix-3d6bd5d9-f2e2-4c8c-a0f8-ab6c4fde1486📝 Commits (3)
91b13d9Initial planb85f614Fix deprecated set-output commands and update GitHub Actions versions59e5e04Add .gitignore and fix Docker tag conditions📊 Changes
2 files changed (+58 additions, -7 deletions)
View changed files
📝
.github/workflows/docker.yaml(+7 -7)➕
.gitignore(+51 -0)📄 Description
Problem
The CI workflow was failing due to deprecated GitHub Actions commands that were disabled by GitHub in 2023, along with outdated action versions that posed security risks.
Root Cause
The workflow was using the deprecated
::set-outputcommand syntax:GitHub disabled these commands and now requires the modern
$GITHUB_OUTPUTenvironment file approach.Changes Made
1. Fixed Deprecated Commands
Before:
After:
2. Updated GitHub Actions Versions
actions/checkout@v3→actions/checkout@v4docker/login-action@v2→docker/login-action@v3actions/cache@v3→actions/cache@v43. Fixed Docker Tag Conditions
Before:
After:
This ensures Docker tags are only applied to the actual default branch, not branches that happen to end with the same name.
4. Added .gitignore
Added comprehensive
.gitignoreto prevent Python cache files, virtual environments, and build artifacts from being accidentally committed.Validation
Expected Impact
Fixes the CI pipeline and brings the workflow up to current GitHub Actions standards.
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.