2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-08 17:22:34 +03:00

chore(ci): fixed release notification action; (#6063)

This commit is contained in:
Dmitriy Mozgovoy
2023-11-08 20:14:12 +02:00
committed by GitHub
parent f6d2cf9763
commit 7144f10dc5
7 changed files with 87 additions and 19 deletions
+2
View File
@@ -2,6 +2,8 @@ import axios from '../index.js';
const {GITHUB_TOKEN} = process.env;
GITHUB_TOKEN ? console.log(`[GITHUB_TOKEN OK]`) : console.warn(`[GITHUB_TOKEN is not defined]`);
export default axios.create({
headers: {
Authorization: GITHUB_TOKEN ? `token ${GITHUB_TOKEN}` : null