File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed
Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Deprecate compromised axios version
2+
3+ on :
4+ workflow_dispatch :
5+ inputs :
6+ version :
7+ description : " Version of axios to deprecate (e.g. 1.14.1)"
8+ required : true
9+ default : " 1.14.1"
10+
11+ jobs :
12+ deprecate :
13+ runs-on : ubuntu-latest
14+
15+ permissions :
16+ contents : read
17+
18+ steps :
19+ - name : Setup Node.js
20+ uses : actions/setup-node@v4
21+ with :
22+ node-version : 20
23+ registry-url : https://registry.npmjs.org/
24+
25+ - name : Deprecate selected version
26+ run : |
27+ echo "Deprecating axios@${{ github.event.inputs.version }}"
28+ npm deprecate axios@${{ github.event.inputs.version }} "🚨 SECURITY: compromised dependency (plain-crypto-js). DO NOT USE. Downgrade to 1.13.6"
29+ env :
30+ NODE_AUTH_TOKEN : ${{ secrets.NPM_TOKEN }}
You can’t perform that action at this time.
0 commit comments