mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
This reverts commit e2bed7f84d.
This commit is contained in:
@@ -1,30 +0,0 @@
|
|||||||
name: Deprecate compromised axios version
|
|
||||||
|
|
||||||
on:
|
|
||||||
workflow_dispatch:
|
|
||||||
inputs:
|
|
||||||
version:
|
|
||||||
description: "Version of axios to deprecate (e.g. 1.14.1)"
|
|
||||||
required: true
|
|
||||||
default: "1.14.1"
|
|
||||||
|
|
||||||
jobs:
|
|
||||||
deprecate:
|
|
||||||
runs-on: ubuntu-latest
|
|
||||||
|
|
||||||
permissions:
|
|
||||||
contents: read
|
|
||||||
|
|
||||||
steps:
|
|
||||||
- name: Setup Node.js
|
|
||||||
uses: actions/setup-node@v4
|
|
||||||
with:
|
|
||||||
node-version: 20
|
|
||||||
registry-url: https://registry.npmjs.org/
|
|
||||||
|
|
||||||
- name: Deprecate selected version
|
|
||||||
run: |
|
|
||||||
echo "Deprecating axios@${{ github.event.inputs.version }}"
|
|
||||||
npm deprecate axios@${{ github.event.inputs.version }} "🚨 SECURITY: compromised dependency (plain-crypto-js). DO NOT USE. Downgrade to 1.13.6"
|
|
||||||
env:
|
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NPM_TOKEN }}
|
|
||||||
Reference in New Issue
Block a user