Skip to content

Commit 8bef736

Browse files
🩹 [Patch]: Update jscpd configuration to ignore TestWorkflow.yml and add Prerelease input to Action-Test workflow
1 parent 175691e commit 8bef736

File tree

3 files changed

+8
-27
lines changed

3 files changed

+8
-27
lines changed

‎.github/linters/.jscpd.json‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
"consoleFull"
55
],
66
"ignore": [
7-
"**/tests/**"
7+
"**/tests/**",
8+
"**.github/workflows/TestWorkflow.yml"
89
],
910
"absolute": true
1011
}

‎.github/workflows/Action-Test-Prerelease.yml‎

Lines changed: 0 additions & 26 deletions
This file was deleted.

‎.github/workflows/Action-Test.yml‎

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ run-name: "Action-Test - [${{ github.event.pull_request.title }} #${{ github.eve
44

55
on:
66
workflow_dispatch:
7+
inputs:
8+
Prerelease:
9+
description: Run the action in prerelease mode
10+
required: false
11+
default: false
712
pull_request:
813
schedule:
914
- cron: '0 0 * * *'
@@ -26,3 +31,4 @@ jobs:
2631
os: [ubuntu-latest, macos-latest, windows-latest]
2732
with:
2833
runs-on: ${{ matrix.os }}
34+
Prerelease: ${{ inputs.Prerelease }}

0 commit comments

Comments
 (0)