https://github.com/bndynet/github-action-inject-copyright
Inject project information like name, author, version and license into your css and js files.
https://github.com/bndynet/github-action-inject-copyright
comment github-action js-header project-copyright project-version
Last synced: 3 months ago
JSON representation
Inject project information like name, author, version and license into your css and js files.
- Host: GitHub
- URL: https://github.com/bndynet/github-action-inject-copyright
- Owner: bndynet
- License: mit
- Created: 2020-11-18T14:17:57.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-02-21T07:41:05.000Z (over 2 years ago)
- Last Synced: 2025-10-15T03:58:41.250Z (8 months ago)
- Topics: comment, github-action, js-header, project-copyright, project-version
- Language: TypeScript
- Homepage: https://github.com/marketplace/actions/inject-copyright
- Size: 609 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Inject copyright and version
Inject author, version and license informations that is from package.json file into css and js files.
```yml
- name: Build
run: npm run build
- name: Inject copyright and version
uses: bndynet/github-action-inject-copyright@v2
with:
dist: dist # optional, default is dist folder
```
## IMPORTANT
Before commit, please run `npm run all` and commit all files.
This project is based on https://github.com/actions/typescript-action