An open API service indexing awesome lists of open source software.

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.

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