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
3 changes: 0 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ jobs:
uses: ./
id: skip_check
with:
STEPSECURITY_API_KEY: ${{ secrets.STEPSECURITY_API_KEY }}
concurrent_skipping: 'never'
skip_after_successful_duplicate: 'true'
paths_ignore: '["**/README.md", "**/docs/**"]'
Expand Down Expand Up @@ -80,7 +79,6 @@ jobs:
uses: ./
id: skip_check
with:
STEPSECURITY_API_KEY: ${{ secrets.STEPSECURITY_API_KEY }}
cancel_others: 'false'
paths: '["src/**", "dist/**"]'

Expand All @@ -105,7 +103,6 @@ jobs:
uses: ./
id: skip_check
with:
STEPSECURITY_API_KEY: ${{ secrets.STEPSECURITY_API_KEY }}
paths_ignore: '["**/*.md"]'
cancel_others: 'true'
concurrent_skipping: 'outdated_runs'
Expand Down
3 changes: 3 additions & 0 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,11 @@ repos:
rev: v8.38.0
hooks:
- id: eslint
exclude: ^dist/
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.4.0
hooks:
- id: end-of-file-fixer
exclude: ^dist/
- id: trailing-whitespace
exclude: ^dist/
4 changes: 0 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -260,7 +260,6 @@ jobs:
- id: skip_check
uses: step-security/skip-duplicate-actions@v1
with:
STEPSECURITY_API_KEY: ${{ secrets.STEPSECURITY_API_KEY }}
# All of these options are optional, so you can remove them if you are happy with the defaults
concurrent_skipping: 'never'
skip_after_successful_duplicate: 'true'
Expand Down Expand Up @@ -288,7 +287,6 @@ jobs:
- id: skip_check
uses: step-security/skip-duplicate-actions@v1
with:
STEPSECURITY_API_KEY: ${{ secrets.STEPSECURITY_API_KEY }}
cancel_others: 'false'
paths: '["src/**", "dist/**"]'
- if: steps.skip_check.outputs.should_skip != 'true'
Expand All @@ -313,7 +311,6 @@ jobs:
- id: skip_check
uses: step-security/skip-duplicate-actions@v1
with:
STEPSECURITY_API_KEY: ${{ secrets.STEPSECURITY_API_KEY }}
paths_filter: |
frontend:
paths_ignore:
Expand Down Expand Up @@ -434,4 +431,3 @@ There are several approaches to circumvent this problem:
```

- Define an opposite workflow, as offically suggested by GitHub: [Handling skipped but required checks](https://docs.github.com/en/repositories/configuring-branches-and-merges-in-your-repository/defining-the-mergeability-of-pull-requests/troubleshooting-required-status-checks#handling-skipped-but-required-checks)

3 changes: 0 additions & 3 deletions action.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,9 +35,6 @@ inputs:
description: 'One of never, same_content, same_content_newer, outdated_runs, always'
required: true
default: 'never'
STEPSECURITY_API_KEY:
description: "API key for validation"
required: true
outputs:
should_skip:
description: 'Returns true if the current run should be skipped according to your configured rules'
Expand Down
Loading