Skip to content

feat: add action - #3

Merged
vaernion merged 29 commits into
mainfrom
feat/add-action
Sep 17, 2025
Merged

feat: add action#3
vaernion merged 29 commits into
mainfrom
feat/add-action

Conversation

@vaernion

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings September 16, 2025 12:45

Copilot AI left a comment

Copy link
Copy Markdown

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 transforms a simple no-op action into a functional GitHub Action that detects file changes since the last successful workflow run. The action enables safe continuous deployment by comparing the current commit against the last successful run's commit.

  • Replaces echo/output functionality with change detection logic using Git diffs and GitHub API
  • Adds workflow history lookup to determine base commit for comparison
  • Implements include/exclude path filtering with Git pathspecs

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
action.yml Complete rewrite from no-op to change detection action with workflow API integration and Git diff logic
README.md Updated documentation to reflect new action purpose, inputs, outputs, and usage examples
.github/workflows/test.yml New test workflow demonstrating the action's usage with path filtering

Tip: Customize your code reviews with copilot-instructions.md. Create the file or learn how to get started.

Comment thread .github/workflows/test.yml Outdated
Comment thread action.yml Outdated
Comment thread action.yml Outdated
@vaernion
vaernion merged commit 587cd50 into main Sep 17, 2025
2 checks passed
@vaernion
vaernion deleted the feat/add-action branch September 17, 2025 12:08
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.

3 participants