Checks a repository for scms compatibility.
Can commit into a branch of your repository, using your username <[email protected]>
as committer id.
Set parallelity.
The default is "1"
which is single threaded.
Note that parallelity will fail-at-end and result in unordered log outputs.
Note: this parameter loosely follows the maven syntax. Use 1C
for one thread per core,
use 12
for exactly 12 threads and 0.9C
for rounded 0.9 threads per core.
Sets the verbosity.
The default is INFO
for scms classes and WARN
for 3rd-party libraries.
Use true
for verbose output (DEBUG
for all messages).
Set the input path relative to the repository.
Please note that absolute paths and paths containing /..
or ../
will be rejected.
If set to true
, the result will be committed even if the output has not changed since the previous commit.
Only effective when outputbranch
is set.
steps:
- name: check with scms
uses: scms/scms-github-action@v1
with:
parallelity: 1C
verbose: true
inputpath: site
outputbranch: site-staging
wipeoutputbranch: false # default
emptycommit: true
See scms/scms-example.
It has two actions:
-
a non-committing action
-
a committing action, which commits into the site-staging tree