Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions github/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ jobs:
java-version: '21'

- name: Run OpenTaint code analysis
uses: seqra/opentaint/github@v2
uses: seqra/opentaint/github@github/v0
```


Expand Down Expand Up @@ -66,7 +66,7 @@ jobs:
java-version: '21'

- name: Run OpenTaint code analysis
uses: seqra/opentaint/github@v2
uses: seqra/opentaint/github@github/v0
with:
upload-sarif: 'true'
artifact-name: 'sarif'
Expand Down Expand Up @@ -99,7 +99,7 @@ jobs:
java-version: '21'

- name: Run OpenTaint code analysis
uses: seqra/opentaint/github@v2
uses: seqra/opentaint/github@github/v0
with:
# Relative path under $GITHUB_WORKSPACE to the root of the analyzed project
project-root: '.'
Expand All @@ -109,11 +109,11 @@ jobs:

# OpenTaint version selector:
# - latest (latest stable)
# - v2 (latest stable in major v2)
# - v2.0 (latest stable in minor v2.0)
# - v2.0.2 (exact)
# Default is 'v2'
opentaint-version: 'v2'
# - v0 (latest stable in major v0)
# - v0.1 (latest stable in minor v0.1)
# - v0.1.0 (exact)
# Default is 'v0'
opentaint-version: 'v0'

# Paths to custom rules directories (comma-separated)
# By default it uses builtin rules
Expand Down Expand Up @@ -147,9 +147,9 @@ After the job completes, you’ll find:
`opentaint-version` supports flexible selectors so you do not need to update this action for every OpenTaint release:

* `latest` - always use the latest stable release
* `v2` - use the latest stable release in major version 2 (default)
* `v2.0` - use the latest stable patch in minor version 2.0
* `v2.0.1` - pin an exact release
* `v0` - use the latest stable release in major version 0 (default)
* `v0.1` - use the latest stable patch in minor version 0.1
* `v0.1.0` - pin an exact release

Examples:

Expand All @@ -160,7 +160,7 @@ with:

```yaml
with:
opentaint-version: 'v2.0'
opentaint-version: 'v0.1'
```


Expand Down
2 changes: 1 addition & 1 deletion github/action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ inputs:
default: 'false'
opentaint-version:
description: 'OpenTaint version selector: latest, v<major>, v<major>.<minor>, or exact v<major>.<minor>.<patch>'
default: 'v2'
default: 'v0'
rules-path:
description: 'Paths to rules directories (comma-separated)'
default: 'builtin'
Expand Down
Loading