Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump softprops/action-gh-release from 1 to 2 #117

Merged
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
8 changes: 4 additions & 4 deletions .github/workflows/functional-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- name: Detect NSFW content
uses: ./
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
provider: ${{ matrix.provider }}
api_key: ${{ steps.secrets.outputs.api-key }}
threshold: ${{ matrix.threshold }}
github_token: "${{ secrets.GITHUB_TOKEN }}"
provider: "${{ matrix.provider }}"
api_key: "${{ steps.secrets.outputs.api-key }}"
threshold: "${{ matrix.threshold }}"
2 changes: 1 addition & 1 deletion .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
path: |
.yarn/cache
node_modules
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/.yarnrc.yml') }}
key: "${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }}-${{ hashFiles('**/.yarnrc.yml') }}"
restore-keys: |
${{ runner.os }}-yarn-
- name: Compile
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ jobs:
id: changelog
uses: simbo/changes-since-last-release-action@v1
- name: Create release
uses: softprops/action-gh-release@v1
uses: softprops/action-gh-release@v2
with:
tag_name: ${{ github.ref }}
name: ${{ github.ref_name }}
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/unit-tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
name: Unit Tests

on:
pull_request: {}
push:
branches:
- 'main'
pull_request:
- "main"

jobs:
unit-tests:
Expand Down
4 changes: 2 additions & 2 deletions .gitleaksignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
.yarn/releases/yarn-4.1.0.cjs:aws-access-token:149
.yarn/releases/yarn-4.1.0.cjs:generic-api-key:567
.yarn/releases/yarn-4.1.1.cjs:aws-access-token:149
.yarn/releases/yarn-4.1.1.cjs:generic-api-key:567
10 changes: 5 additions & 5 deletions .pre-commit-config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ repos:
hooks:
- id: detect-secrets
- repo: https://github.com/gitleaks/gitleaks
rev: v8.18.1
rev: v8.18.2
hooks:
- id: gitleaks
- repo: https://github.com/fabasoad/pre-commit-snyk
Expand All @@ -50,26 +50,26 @@ repos:
stages: ["push"]
# Markdown
- repo: https://github.com/igorshubovych/markdownlint-cli
rev: v0.38.0
rev: v0.39.0
hooks:
- id: markdownlint-fix
stages: ["commit"]
# Yaml
- repo: https://github.com/adrienverge/yamllint
rev: v1.33.0
rev: v1.35.1
hooks:
- id: yamllint
stages: ["push"]
# GitHub Actions
- repo: https://github.com/rhysd/actionlint
rev: v1.6.26
rev: v1.6.27
hooks:
- id: actionlint
args: ["-pyflakes="]
stages: ["push"]
# Other
- repo: https://github.com/pre-commit/pre-commit-hooks
rev: v4.5.0
rev: v4.6.0
hooks:
- id: check-merge-conflict
- id: check-json
Expand Down
324 changes: 162 additions & 162 deletions .yarn/releases/yarn-4.1.0.cjs → .yarn/releases/yarn-4.1.1.cjs

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion .yarnrc.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
nodeLinker: node-modules

yarnPath: .yarn/releases/yarn-4.1.0.cjs
yarnPath: .yarn/releases/yarn-4.1.1.cjs
8 changes: 4 additions & 4 deletions dist/index.js

Large diffs are not rendered by default.

18 changes: 9 additions & 9 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "nsfw-detection-action",
"version": "2.0.1",
"version": "2.0.2",
"description": "This GitHub action detects nsfw content in committed files.",
"main": "dist/index.js",
"repository": {
Expand All @@ -22,25 +22,25 @@
"@actions/core": "1.10.1",
"@actions/github": "5.1.1",
"form-data": "4.0.0",
"winston": "3.11.0"
"winston": "3.13.0"
},
"devDependencies": {
"@microsoft/eslint-formatter-sarif": "3.0.0",
"@microsoft/eslint-formatter-sarif": "3.1.0",
"@octokit/types": "12.6.0",
"@types/chai": "4.3.12",
"@types/chai": "4.3.14",
"@types/glob": "8.1.0",
"@types/jest": "29.5.12",
"@types/node": "20.11.24",
"@typescript-eslint/eslint-plugin": "7.1.0",
"@typescript-eslint/parser": "7.1.0",
"@types/node": "20.12.7",
"@typescript-eslint/eslint-plugin": "7.6.0",
"@typescript-eslint/parser": "7.6.0",
"@vercel/ncc": "0.38.1",
"eslint": "8.57.0",
"eslint-config-google": "0.14.0",
"jest": "29.7.0",
"jest-circus": "29.7.0",
"mocha-param": "2.0.1",
"ts-jest": "29.1.2",
"typescript": "5.3.3"
"typescript": "5.4.5"
},
"packageManager": "yarn@4.1.0"
"packageManager": "yarn@4.1.1"
}
Loading
Loading