This action allows you to trigger different CI statuses based on the changed files or commands in commit messages. It can be configured to either output the status, or trigger the status itself.
The workflow run identifier.
- Optional:
false
A GitHub authentication token.
- Optional:
false
A list of paths that should be excluded from CI.
- Optional:
true
- Default:
[]
Whether or not the action should stop the workflow itself.
- Optional:
true
- Default:
true
The string in the commit message used to skip the CI run.
- Optional:
true
- Default:
[skip ci]
The result of executing the action. It can be one of:
continue
: When the check wants to let the workflow continue.cancel
: When the check thinks the workflow should be cancelled.skip
: When the check thinks the workflow should be skipped.neutral
: When the check thinks the workflow should have a neutral status.fail
: When the check thinks the workflow should fail.
name: Conditionally Skip CI
uses: luna/skip-ci-action@0.1
with:
run-id: ${{ github.run_id }}
github-token: ${{ github.token }}
excluded-paths:
- /doc/*
- README.md
stop-internally: true
skip-ci-message: true