This action can be used to set up SW on your GitHub action CD pipelines.
By default, the action will check your code with the same defaults as SW. You can pass specific configuration directly to SW from the action parameters.
v1.1.4
You need to set up a workflow that :
- Check out the code of your repository.
- Run the SW-action to wipe the solutions.
- Copy the wiped files to a new repository or branch.
- Commit the changes to the new repository or branch.
- Make a pull request to the corresponding repository to propose the new wiped exercises.
- Here's a simple example of a workflow that uses the SW-action to wipe the solutions of some exercises and commit the changes to another repository,
- Here's another example wich uses a
.exerciseignore
to specify wich files shouldn't be copied to the new repository.
Name | Description | Required | Default |
---|---|---|---|
path |
The path to the directory containing the code to wipe | false | . |
lang |
The languages of the code you want to wipe, separated by a comma and without spaces | false | rs,js,ts,java |
This action output the path to every file that has been wiped.