https://github.com/lnardon/integrityguard
GitHub Action that generates a SHA256 hash for a specified file or folder in your repository, ensuring file integrity and providing traceability with each commit ID.
https://github.com/lnardon/integrityguard
automation checksum github-actions integrity-checker open-source script sha-256
Last synced: 7 months ago
JSON representation
GitHub Action that generates a SHA256 hash for a specified file or folder in your repository, ensuring file integrity and providing traceability with each commit ID.
- Host: GitHub
- URL: https://github.com/lnardon/integrityguard
- Owner: lnardon
- License: mit
- Created: 2023-06-27T07:37:31.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2023-10-15T23:46:57.000Z (almost 2 years ago)
- Last Synced: 2025-01-10T17:49:19.337Z (9 months ago)
- Topics: automation, checksum, github-actions, integrity-checker, open-source, script, sha-256
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# IntegrityChecker
GitHub Action that generates a SHA256 hash for a specified file or folder in your repository upon every merge to the main branch, ensuring data integrity and providing traceability with each commit ID.
## Usage
This action is defined by the `.github/workflows/IntegrityChecker.yml` file in your repository.
### Setup
1. Copy the contents of `.github/workflows/IntegrityChecker.yml` from this repository into the same path in your repository.
2. Set the `TARGET_FOLDER` variable in the `env` field of the `IntegrityChecker.yml` file to the path of the folder or file you want to create a check.### Output
This action prints the hash generated for the folder/file and also the commit ID (SHA) that generated that.