https://github.com/kinneko-de/cleanup-outdated-tag-action
GitHub action to cleanup outdated Git tags.
https://github.com/kinneko-de/cleanup-outdated-tag-action
cleanup git-tag git-tags github-action github-actions github-actions-ci project-githubaction semantic-versioning
Last synced: about 1 month ago
JSON representation
GitHub action to cleanup outdated Git tags.
- Host: GitHub
- URL: https://github.com/kinneko-de/cleanup-outdated-tag-action
- Owner: KinNeko-De
- License: mit
- Created: 2024-07-14T21:49:36.000Z (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2024-10-28T23:22:32.000Z (over 1 year ago)
- Last Synced: 2025-03-17T04:51:12.413Z (about 1 year ago)
- Topics: cleanup, git-tag, git-tags, github-action, github-actions, github-actions-ci, project-githubaction, semantic-versioning
- Language: TypeScript
- Homepage: https://medium.com/@kinneko-de/7d17fa85c175
- Size: 477 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Codeowners: CODEOWNERS
Awesome Lists containing this project
README
# Create a GitHub Action Using TypeScript
[](https://github.com/super-linter/super-linter)

[](https://github.com/KinNeko-De/cleanup-outdated-tag-action/actions/workflows/check-dist.yml)
[](https://github.com/KinNeko-De/cleanup-outdated-tag-action/actions/workflows/codeql-analysis.yml)
[](./badges/coverage.svg)
Comming soon...
[read my article for a short introduction at the end](https://medium.com/@kinneko-de/7d17fa85c175)
## Usage
Warning: this is a v0 pre-release. The action's inputs, outputs and behavior are
experimental and may change without notice.
```yaml
- name: Delete outdated git tags
uses: KinNeko-De/cleanup-outdated-tag-action@v0
```
## Build / Committing dist/
This repository ships a compiled JavaScript bundle in `dist/` (built from the
TypeScript `src/` files) which is what GitHub runs when someone uses the action.
Before creating a PR or pushing changes that touch `src/` or the build
toolchain, regenerate the `dist/` output and commit it so CI and consumers see
the expected code:
```bash
# rebuild the compiled action bundle
npm run bundle
```
The repository contains a CI check (`.github/workflows/check-dist.yml`) that
rebuilds `dist/` and fails the PR if the checked-in `dist/` does not match the
build output. Keeping `dist/` in sync avoids that failure and ensures consumers
of the action run the correct code.
## Format with Prettier
Please format the repository before committing by running: to avoid headache for
the developer that focus on features instead of line formating
```bash
npx prettier --write .
```
This will apply the project's Prettier rules to all files. CI runs a formatting
check for code files; running the command above locally ensures docs and other
files are formatted too and prevents CI failures.