feat: add action - #3
Merged
Merged
Conversation
There was a problem hiding this comment.
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.
mkilgus-at
requested changes
Sep 17, 2025
mkilgus-at
approved these changes
Sep 17, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.