https://github.com/patocallaghan/actions-codemod
https://github.com/patocallaghan/actions-codemod
Last synced: 3 months ago
JSON representation
- Host: GitHub
- URL: https://github.com/patocallaghan/actions-codemod
- Owner: patocallaghan
- Created: 2020-10-05T10:57:28.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2020-10-19T12:49:39.000Z (over 4 years ago)
- Last Synced: 2025-01-27T17:54:07.487Z (4 months ago)
- Language: JavaScript
- Size: 237 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# actions-codemod
A collection of codemods for actions-codemod.
## Usage
To run a specific codemod from this project, you would run the following:
```
npx actions-codemod path/of/files/ or/some**/*glob.js# or
yarn global add actions-codemod
actions-codemod path/of/files/ or/some**/*glob.js
```## Local Usage
```
node ./bin/cli.js path/of/files/ or/some**/*glob.js
```## Transforms
* [action-hash](transforms/action-hash/README.md)
* [action-modifiers](transforms/action-modifiers/README.md)
* [import-usage](transforms/import-usage/README.md)
* [mut-to-set](transforms/mut-to-set/README.md)
* [remove-deprecated-comments](transforms/remove-deprecated-comments/README.md)## Contributing
### Installation
* clone the repo
* change into the repo directory
* `yarn`### Running tests
* `yarn test`
### Update Documentation
* `yarn update-docs`