mirror of
https://github.com/cypress-io/cypress.git
synced 2026-05-07 23:40:21 -05:00
chore: fix changlelog section parsing and reference right ENV (#25633)
This commit is contained in:
@@ -7,7 +7,11 @@ const { getCurrentReleaseData } = require('./get-current-release-data')
|
||||
const { getNextVersionForBinary } = require('../get-next-version')
|
||||
const { getLinkedIssues } = require('./get-linked-issues')
|
||||
|
||||
const octokit = new Octokit({ auth: process.env.GITHUB_TOKEN })
|
||||
if (process.env.CIRCLECI && !process.env.GH_TOKEN) {
|
||||
throw new Error('The GITHUB_TOKEN env is not set.')
|
||||
}
|
||||
|
||||
const octokit = new Octokit({ auth: process.env.GH_TOKEN })
|
||||
|
||||
/**
|
||||
* Get the list of file names that have been added, deleted or changed since the git
|
||||
|
||||
Reference in New Issue
Block a user