mirror of
https://github.com/axios/axios.git
synced 2026-04-11 14:21:59 +08:00
This reverts commit e2bed7f84d.
This commit is contained in:
parent
e2bed7f84d
commit
a40f8d3398
30
.github/workflows/deprecate.yml
vendored
30
.github/workflows/deprecate.yml
vendored
@ -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 }}
|
||||
Loading…
Reference in New Issue
Block a user