Skip to content

Refactor GitHub workflows to use local workflow files and update depe…#51

Merged
elendil-software merged 7 commits intomainfrom
chore/fix-pipelines
Jan 24, 2026
Merged

Refactor GitHub workflows to use local workflow files and update depe…#51
elendil-software merged 7 commits intomainfrom
chore/fix-pipelines

Conversation

@elendil-software
Copy link
Owner

…ndencies

Copy link

Copilot AI left a comment

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 refactors GitHub workflows to move from external workflow dependencies (from elendil-software/github-actions repository) to local workflow files, and updates action dependencies to specific versions.

Changes:

  • Replaces external workflow calls with local workflow files (sw_build.yml and sw_tag-release.yml)
  • Removes the Push-Dev-Nuget.yml workflow file
  • Updates Pull-Request-Labeler action from v3 to v5.0.0
  • Adds inline NuGet push job to Release workflow

Reviewed changes

Copilot reviewed 6 out of 6 changed files in this pull request and generated 9 comments.

Show a summary per file
File Description
IPX800cs.sln Updates solution to reference new workflow files (sw_tag-release.yml, sw_build.yml, Pre-version.yml) and removes Push-Dev-Nuget.yml
.github/workflows/sw_tag-release.yml New reusable workflow for creating tags and releases with artifact handling
.github/workflows/Release.yml Refactored to use local sw_build.yml and sw_tag-release.yml workflows, adds inline NuGet push job
.github/workflows/Push-Dev-Nuget.yml Removed workflow (no longer needed)
.github/workflows/Pull-Request.yml Refactored to use local sw_build.yml workflow
.github/workflows/Pull-Request-Labeler.yml Updates pr-labeler-action from v3 to v5.0.0

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 7 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines 63 to 69
needs: [ release ]
runs-on: ubuntu-latest
steps:
- name: Push .nupkg files to nuget.org
run: dotnet nuget push ${{ inputs.artifact_name_in }}/*.nupkg --api-key $API_KEY --source https://api.nuget.org/v3/index.json
env:
API_KEY: ${{ secrets.NUGET_API_KEY }} No newline at end of file
Copy link

Copilot AI Jan 24, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This job structure is incorrect. The "needs" keyword and "steps" are defined at the same level, which is invalid GitHub Actions syntax. The "needs: [ release ]" line suggests this should be a separate job, not steps within the "release" job. This will cause the workflow to fail as it's attempting to reference itself in the "needs" clause.

This should either be:

  1. A separate job named something like "push-nuget" that depends on the "release" job, OR
  2. An additional step within the existing "release" job (without the "needs" keyword).
Suggested change
needs: [ release ]
runs-on: ubuntu-latest
steps:
- name: Push .nupkg files to nuget.org
run: dotnet nuget push ${{ inputs.artifact_name_in }}/*.nupkg --api-key $API_KEY --source https://api.nuget.org/v3/index.json
env:
API_KEY: ${{ secrets.NUGET_API_KEY }}
run: dotnet nuget push ${{ inputs.artifact_name_in }}/*.nupkg --api-key $API_KEY --source https://api.nuget.org/v3/index.json
env:
API_KEY: ${{ secrets.NUGET_API_KEY }}

Copilot uses AI. Check for mistakes.
with:
name: CoverageReport
path: coveragereport
retention-days: ${{ inputs.artifacts_retention_days }}

This comment was marked as resolved.

Comment on lines 75 to 83
uses: actions/upload-artifact@v4.3.4
with:
name: CoverageReport
path: coveragereport
retention-days: ${{ inputs.artifacts_retention_days }}

- name: 'Upload source artifact'
if: ${{ inputs.push_artifact == true }}
uses: actions/upload-artifact@v4.5.0

This comment was marked as resolved.

with:
name: ${{ inputs.artifact_name_out }}
path: ./Output/IPX800cs/*.nupkg
retention-days: ${{ env.artifacts_retention_days }}

This comment was marked as resolved.

@@ -0,0 +1,10 @@
name: 'Push Developement NuGet'

This comment was marked as resolved.

…fix-pipelines

# Conflicts:
#	.github/workflows/Release.yml
#	.github/workflows/sw_tag-release.yml
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 8 out of 8 changed files in this pull request and generated 5 comments.


💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
Repository owner deleted a comment from Copilot AI Jan 24, 2026
@elendil-software elendil-software merged commit ea5e947 into main Jan 24, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants