We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 37c5588 commit cc24756Copy full SHA for cc24756
.github/workflows/audit_package.yml
@@ -0,0 +1,34 @@
1
+name: Yarn Audit Fix Run
2
+
3
+on:
4
+ workflow_dispatch:
5
+ inputs:
6
+ base_branch:
7
+ description: "Specify a base branch"
8
+ required: false
9
+ default: "main"
10
+ package_manager:
11
+ description: "Specify package manager (npm or yarn)"
12
13
+ default: "yarn"
14
+ script:
15
+ description: "Specify a script to run after audit fix"
16
17
+ default: "yarn build"
18
19
+ schedule:
20
+ - cron: "0 0 * * 1"
21
22
+jobs:
23
+ audit-fix:
24
+ uses: step-security/reusable-workflows/.github/workflows/audit_fix.yml@v1
25
+ with:
26
+ base_branch: ${{ inputs.base_branch || 'main' }}
27
+ package_manager: "yarn"
28
+ script: ${{ inputs.script || 'yarn build' }}
29
30
+permissions:
31
+ contents: write
32
+ pull-requests: write
33
+ packages: read
34
+ issues: write
0 commit comments