auto
auto copied to clipboard
skip-release label ignored with auto shipit in PRs
Describe the bug
I am currently running npx auto shipit
from a CircleCI job. When I apply the skip-release
label to a Pull Request, auto
is still publishing a canary
version of the package.
To Reproduce
- Open a Pull Request in GitHub UI
- Apply the
skip-release
label to the PR - Finish creating the PR
Expected behavior
I expect auto
to skip the canary
release for the package.
Screenshots
In the screenshot below, you can see the skip-release
label is added but the PR description has the message appended with details about the released canary
package.
![Screen Shot 2020-08-28 at 1 05 54 PM](https://user-images.githubusercontent.com/2985457/91606713-d4bb4980-e92f-11ea-8267-df2a99e44ce7.png)
Environment information:
Environment Information:
"auto" version: v9.52.0
"git" version: v2.20.1 (Apple Git-117)
"node" version: v10.15.1
Project Information:
✔ Repository: TangoGroup/react-components (https://github.com/TangoGroup/react-components)
✔ Author Name: Sean Connolly
✔ Author Email: [email protected]
✔ Current Version: v0.0.5
✔ Latest Release: v0.0.5 (https://github.com/TangoGroup/react-components/releases/tag/v0.0.5)
✖ Labels configured on GitHub project (Try running "auto create-labels")
GitHub Token Information:
✔ Token: [Token starting with 8ed9]
✔ Repo Permission: admin
✔ User: goldenshun
✔ API: undefined (undefined)
✔ Enabled Scopes: repo
✔ Rate Limit: 4700/5000
Additional context
I am not sure why npx auto info
is saying my labels are not configured in GitHub. I did run auto create-labels
and continue to experience the issue.
.autorc
file:
{
"plugins": ["npm", "slack"],
"labels": [
{
name: "major",
changelogTitle: "💥 Breaking Change",
description: "Increment the major version when merged",
releaseType: "major",
},
{
name: "minor",
changelogTitle: "🚀 Enhancement",
description: "Increment the minor version when merged",
releaseType: "minor",
},
{
name: "patch",
changelogTitle: "🐛 Bug Fix",
description: "Increment the patch version when merged",
releaseType: "patch",
},
{
name: "skip-release",
description: "Preserve the current version when merged",
releaseType: "skip",
},
{
name: "documentation",
changelogTitle: "📝 Documentation",
description: "Changes only affect the documentation",
releaseType: "none",
},
]
}
This might have been a timing issue. If you add skip-release
after a PR has already been release there is nothing we can do. Might this have happened?
@hipstersmoothie I thought that might be the case, but confirmed that it happens when adding the skip-release
label before the PR is created.
Could you post a full log and run with -vv
?
I think I walked the code and may have determined what's going on.
- Get the
commits
, map them into an array oflabels
. https://github.com/intuit/auto/blob/679c078165c27c74ffed10a70df7f909c2147e28/packages/core/src/release.ts#L409-L410 - Call
calculateSemVerBump
on those commitlabels
https://github.com/intuit/auto/blob/679c078165c27c74ffed10a70df7f909c2147e28/packages/core/src/release.ts#L420 - Inside
calculateSemVerBump
, thelabels
are nowprLabels
(as it's a positional argument) https://github.com/intuit/auto/blob/679c078165c27c74ffed10a70df7f909c2147e28/packages/core/src/semver.ts#L180 - Grab the first
prLabels
aslastMergedCommitLabels
https://github.com/intuit/auto/blob/679c078165c27c74ffed10a70df7f909c2147e28/packages/core/src/semver.ts#L212 - Check if the
lastMergedCommitLabels
has askip-release
label https://github.com/intuit/auto/blob/679c078165c27c74ffed10a70df7f909c2147e28/packages/core/src/semver.ts#L214-L216
The issue being... Commits are inferred to be PRs. In our CI, we're landing a commit just-in-time before running shipit to overcome another issue. Famous last words:
I've got it running and there's a little extra commit noise, I'm not broken up over it. (Marty Henderson: 1992-2020 RIP)
Regular commits don't get labels, so prLabels[0]
is using our regular commit as lastMergedCommitLabels
, which doesn't have any labels to signify skip-release
.
Unfortunately, I haven't had the time yet to think through how lastMergedCommitLabels
could be updated to lastMergedPrLabels
, as the commits appear to receive an inferred patch
label when no labels exist, so you can't just do something like const lastMergedPrLabels = prLabels.find(pr => pr.labels.length)
...
@10hendersonm You could move that commit to a plugin I think. That way you don't mess with the semver bump calculation.
Tap afterAddToChangelog
or afterVersion
and do your commit stuff. You think that would work?
@hipstersmoothie npx auto shipit --vv
results in this error Found unknown flag: "--vv"
. Did I miss something?
What version of auto are you on? pre-9.0 use -w for very verbose output
npx auto --version
results in 9.53.1
I went ahead and just changed to npx auto shipit --verbose --verbose
. Hopefully this is enough info:
npx auto shipit --verbose --verbose
npx: installed 216 in 9.034s
ℹ info ENV: { isCi: true,
name: 'CircleCI',
service: 'circleci',
build: '574',
buildUrl: 'https://circleci.com/gh/TangoGroup/react-components/574',
job: '574.0',
commit: '6d65630feba6f24e26cadc40296ef54dbdb851db',
tag: undefined,
branch: undefined,
pr: '50',
isPr: true,
prBranch: 'chore/auto-test-2',
slug: 'TangoGroup/react-components' }
✔ success Using SEMVER labels:
Map {
'major' => [ 'major', 'major' ],
'minor' => [ 'minor', 'minor' ],
'patch' => [ 'patch', 'patch', 'performance' ],
'skip' => [ 'skip-release', 'skip-release' ],
'none' => [ 'documentation',
'dependencies',
'internal',
'documentation',
'tests',
'dependencies' ],
'release' => [ 'release' ] }
✔ success Loaded `auto` with config: { plugins: [ 'npm', 'slack' ],
labels:
[ { name: 'major',
changelogTitle: '💥 Breaking Change',
description: 'Increment the major version when merged',
releaseType: 'major',
color: '#C5000B' },
{ name: 'minor',
changelogTitle: '🚀 Enhancement',
description: 'Increment the minor version when merged',
releaseType: 'minor',
color: '#F1A60E' },
{ name: 'patch',
changelogTitle: '🐛 Bug Fix',
description: 'Increment the patch version when merged',
releaseType: 'patch',
color: '#870048' },
{ name: 'skip-release',
description: 'Preserve the current version when merged',
releaseType: 'skip',
color: '#bf5416' },
{ name: 'documentation',
changelogTitle: '📝 Documentation',
description: 'Changes only affect the documentation',
releaseType: 'none',
color: '#cfd3d7' },
{ name: 'dependencies',
changelogTitle: '🔩 Dependency Updates',
description: 'Update one or more dependencies version',
releaseType: 'none',
color: '#8732bc' },
{ name: 'major',
changelogTitle: '💥 Breaking Change',
description: 'Increment the major version when merged',
releaseType: 'major',
color: '#C5000B' },
{ name: 'minor',
changelogTitle: '🚀 Enhancement',
description: 'Increment the minor version when merged',
releaseType: 'minor',
color: '#F1A60E' },
{ name: 'patch',
changelogTitle: '🐛 Bug Fix',
description: 'Increment the patch version when merged',
releaseType: 'patch',
color: '#870048' },
{ name: 'skip-release',
description: 'Preserve the current version when merged',
releaseType: 'skip',
color: '#bf5416' },
{ name: 'release',
description: 'Create a release when this pr is merged',
releaseType: 'release',
color: '#007f70' },
{ name: 'internal',
changelogTitle: '🏠 Internal',
description: 'Changes only affect the internal API',
releaseType: 'none',
color: '#696969' },
{ name: 'documentation',
changelogTitle: '📝 Documentation',
description: 'Changes only affect the documentation',
releaseType: 'none',
color: '#cfd3d7' },
{ name: 'tests',
changelogTitle: '🧪 Tests',
description: 'Add or improve existing tests',
releaseType: 'none',
color: '#ffd3cc' },
{ name: 'dependencies',
changelogTitle: '🔩 Dependency Updates',
description: 'Update one or more dependencies version',
releaseType: 'none',
color: '#8732bc' },
{ name: 'performance',
changelogTitle: '🏎 Performance',
description: 'Improve performance of an existing feature',
releaseType: 'patch',
color: '#f4b2d8' } ],
prereleaseBranches: [ 'next' ],
versionBranches: undefined }
ℹ info Found plugin using: /home/circleci/.npm/_npx/42/lib/node_modules/auto/node_modules/@auto-it/core/dist/plugins/filter-non-pull-request.js
ℹ info Found plugin using: /home/circleci/.npm/_npx/42/lib/node_modules/auto/node_modules/@auto-it/core/dist/plugins/filter-non-pull-request.js
⚠ warning Cannot find module '/snapshot/auto/plugins/npm/dist/index.js'
⚠ warning Cannot find module 'auto-plugin-npm'
ℹ info Found plugin using: @auto-it/npm
ℹ info Found plugin using: @auto-it/npm
⚠ warning Cannot find module '/snapshot/auto/plugins/slack/dist/index.js'
⚠ warning Cannot find module 'auto-plugin-slack'
ℹ info Found plugin using: @auto-it/slack
ℹ info Found plugin using: @auto-it/slack
ℹ info Using Filter Non Pull Request Plugin...
ℹ info Using npm Plugin...
ℹ info Using slack Plugin...
[email protected]:TangoGroup/react-components.git
ℹ info Options contain repo information.
ℹ info Initializing GitHub API with:
{ owner: 'TangoGroup',
repo: 'react-components',
token: '[Token starting with 8ed9]',
agent: undefined,
baseUrl: undefined,
graphqlBaseUrl: undefined }
ℹ info Initializing GitHub with: https://api.github.com
[email protected]:TangoGroup/react-components.git
ℹ info Getting project from GitHub
ℹ info Got response from repos
{ id: 276190444,
node_id: 'MDEwOlJlcG9zaXRvcnkyNzYxOTA0NDQ=',
name: 'react-components',
full_name: 'TangoGroup/react-components',
private: true,
owner:
{ login: 'TangoGroup',
id: 569720,
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU2OTcyMA==',
avatar_url: 'https://avatars3.githubusercontent.com/u/569720?v=4',
gravatar_id: '',
url: 'https://api.github.com/users/TangoGroup',
html_url: 'https://github.com/TangoGroup',
followers_url: 'https://api.github.com/users/TangoGroup/followers',
following_url:
'https://api.github.com/users/TangoGroup/following{/other_user}',
gists_url: 'https://api.github.com/users/TangoGroup/gists{/gist_id}',
starred_url:
'https://api.github.com/users/TangoGroup/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/TangoGroup/subscriptions',
organizations_url: 'https://api.github.com/users/TangoGroup/orgs',
repos_url: 'https://api.github.com/users/TangoGroup/repos',
events_url: 'https://api.github.com/users/TangoGroup/events{/privacy}',
received_events_url: 'https://api.github.com/users/TangoGroup/received_events',
type: 'Organization',
site_admin: false },
html_url: 'https://github.com/TangoGroup/react-components',
description: 'Storybook 📖',
fork: false,
url: 'https://api.github.com/repos/TangoGroup/react-components',
forks_url:
'https://api.github.com/repos/TangoGroup/react-components/forks',
keys_url:
'https://api.github.com/repos/TangoGroup/react-components/keys{/key_id}',
collaborators_url:
'https://api.github.com/repos/TangoGroup/react-components/collaborators{/collaborator}',
teams_url:
'https://api.github.com/repos/TangoGroup/react-components/teams',
hooks_url:
'https://api.github.com/repos/TangoGroup/react-components/hooks',
issue_events_url:
'https://api.github.com/repos/TangoGroup/react-components/issues/events{/number}',
events_url:
'https://api.github.com/repos/TangoGroup/react-components/events',
assignees_url:
'https://api.github.com/repos/TangoGroup/react-components/assignees{/user}',
branches_url:
'https://api.github.com/repos/TangoGroup/react-components/branches{/branch}',
tags_url:
'https://api.github.com/repos/TangoGroup/react-components/tags',
blobs_url:
'https://api.github.com/repos/TangoGroup/react-components/git/blobs{/sha}',
git_tags_url:
'https://api.github.com/repos/TangoGroup/react-components/git/tags{/sha}',
git_refs_url:
'https://api.github.com/repos/TangoGroup/react-components/git/refs{/sha}',
trees_url:
'https://api.github.com/repos/TangoGroup/react-components/git/trees{/sha}',
statuses_url:
'https://api.github.com/repos/TangoGroup/react-components/statuses/{sha}',
languages_url:
'https://api.github.com/repos/TangoGroup/react-components/languages',
stargazers_url:
'https://api.github.com/repos/TangoGroup/react-components/stargazers',
contributors_url:
'https://api.github.com/repos/TangoGroup/react-components/contributors',
subscribers_url:
'https://api.github.com/repos/TangoGroup/react-components/subscribers',
subscription_url:
'https://api.github.com/repos/TangoGroup/react-components/subscription',
commits_url:
'https://api.github.com/repos/TangoGroup/react-components/commits{/sha}',
git_commits_url:
'https://api.github.com/repos/TangoGroup/react-components/git/commits{/sha}',
comments_url:
'https://api.github.com/repos/TangoGroup/react-components/comments{/number}',
issue_comment_url:
'https://api.github.com/repos/TangoGroup/react-components/issues/comments{/number}',
contents_url:
'https://api.github.com/repos/TangoGroup/react-components/contents/{+path}',
compare_url:
'https://api.github.com/repos/TangoGroup/react-components/compare/{base}...{head}',
merges_url:
'https://api.github.com/repos/TangoGroup/react-components/merges',
archive_url:
'https://api.github.com/repos/TangoGroup/react-components/{archive_format}{/ref}',
downloads_url:
'https://api.github.com/repos/TangoGroup/react-components/downloads',
issues_url:
'https://api.github.com/repos/TangoGroup/react-components/issues{/number}',
pulls_url:
'https://api.github.com/repos/TangoGroup/react-components/pulls{/number}',
milestones_url:
'https://api.github.com/repos/TangoGroup/react-components/milestones{/number}',
notifications_url:
'https://api.github.com/repos/TangoGroup/react-components/notifications{?since,all,participating}',
labels_url:
'https://api.github.com/repos/TangoGroup/react-components/labels{/name}',
releases_url:
'https://api.github.com/repos/TangoGroup/react-components/releases{/id}',
deployments_url:
'https://api.github.com/repos/TangoGroup/react-components/deployments',
created_at: '2020-06-30T19:29:06Z',
updated_at: '2020-09-08T18:58:56Z',
pushed_at: '2020-09-21T18:34:44Z',
git_url: 'git://github.com/TangoGroup/react-components.git',
ssh_url: '[email protected]:TangoGroup/react-components.git',
clone_url: 'https://github.com/TangoGroup/react-components.git',
svn_url: 'https://github.com/TangoGroup/react-components',
homepage: '',
size: 1659,
stargazers_count: 0,
watchers_count: 0,
language: 'TypeScript',
has_issues: true,
has_projects: true,
has_downloads: true,
has_wiki: true,
has_pages: false,
forks_count: 0,
mirror_url: null,
archived: false,
disabled: false,
open_issues_count: 7,
license: null,
forks: 0,
open_issues: 7,
watchers: 0,
default_branch: 'master',
permissions: { admin: true, push: true, pull: true },
temp_clone_token: 'AAWY34O3UPCKET4UIEQC2LS7NDZ6Q',
allow_squash_merge: true,
allow_merge_commit: true,
allow_rebase_merge: true,
delete_branch_on_merge: false,
organization:
{ login: 'TangoGroup',
id: 569720,
node_id: 'MDEyOk9yZ2FuaXphdGlvbjU2OTcyMA==',
avatar_url: 'https://avatars3.githubusercontent.com/u/569720?v=4',
gravatar_id: '',
url: 'https://api.github.com/users/TangoGroup',
html_url: 'https://github.com/TangoGroup',
followers_url: 'https://api.github.com/users/TangoGroup/followers',
following_url:
'https://api.github.com/users/TangoGroup/following{/other_user}',
gists_url: 'https://api.github.com/users/TangoGroup/gists{/gist_id}',
starred_url:
'https://api.github.com/users/TangoGroup/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/TangoGroup/subscriptions',
organizations_url: 'https://api.github.com/users/TangoGroup/orgs',
repos_url: 'https://api.github.com/users/TangoGroup/repos',
events_url: 'https://api.github.com/users/TangoGroup/events{/privacy}',
received_events_url: 'https://api.github.com/users/TangoGroup/received_events',
type: 'Organization',
site_admin: false },
network_count: 0,
subscribers_count: 6 }
ℹ info Got project information.
● note Using token + html URL as remote
ℹ info Using remote: https://****[email protected]/TangoGroup/react-components
git version 2.11.0
[email protected]:TangoGroup/react-components.git
⚠ warning Could not find git user or email configured in git config
⚠ warning Got author from options: email: undefined, name undefined
ℹ info NPM: Getting repo information from package.json
⚠ warning Using author: The Gloo Web Team <undefined>
ℹ info Got response for "getLatestRelease":
{ url:
'https://api.github.com/repos/TangoGroup/react-components/releases/30929742',
assets_url:
'https://api.github.com/repos/TangoGroup/react-components/releases/30929742/assets',
upload_url:
'https://uploads.github.com/repos/TangoGroup/react-components/releases/30929742/assets{?name,label}',
html_url:
'https://github.com/TangoGroup/react-components/releases/tag/v0.0.7',
id: 30929742,
node_id: 'MDc6UmVsZWFzZTMwOTI5NzQy',
tag_name: 'v0.0.7',
target_commitish: 'master',
name: 'v0.0.7',
draft: false,
author:
{ login: 'goldenshun',
id: 2985457,
node_id: 'MDQ6VXNlcjI5ODU0NTc=',
avatar_url: 'https://avatars0.githubusercontent.com/u/2985457?v=4',
gravatar_id: '',
url: 'https://api.github.com/users/goldenshun',
html_url: 'https://github.com/goldenshun',
followers_url: 'https://api.github.com/users/goldenshun/followers',
following_url:
'https://api.github.com/users/goldenshun/following{/other_user}',
gists_url: 'https://api.github.com/users/goldenshun/gists{/gist_id}',
starred_url:
'https://api.github.com/users/goldenshun/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/goldenshun/subscriptions',
organizations_url: 'https://api.github.com/users/goldenshun/orgs',
repos_url: 'https://api.github.com/users/goldenshun/repos',
events_url: 'https://api.github.com/users/goldenshun/events{/privacy}',
received_events_url: 'https://api.github.com/users/goldenshun/received_events',
type: 'User',
site_admin: false },
prerelease: false,
created_at: '2020-09-08T18:58:32Z',
published_at: '2020-09-08T18:58:54Z',
assets: [],
tarball_url:
'https://api.github.com/repos/TangoGroup/react-components/tarball/v0.0.7',
zipball_url:
'https://api.github.com/repos/TangoGroup/react-components/zipball/v0.0.7',
body:
'### Release Notes\n\n_From #21_\n\n\n\n_From #37_\n\n\n\n---\n\n#### 🐛 Bug Fix\n\n- Snackbar Component [#21](https://github.com/TangoGroup/react-components/pull/21) ([@goldenshun](https://github.com/goldenshun))\n- Simplify dependabot workflow [#37](https://github.com/TangoGroup/react-components/pull/37) ([@goldenshun](https://github.com/goldenshun))\n\n#### Authors: 1\n\n- Sean Connolly ([@goldenshun](https://github.com/goldenshun))' }
ℹ info Got latest release:
{ url:
'https://api.github.com/repos/TangoGroup/react-components/releases/30929742',
assets_url:
'https://api.github.com/repos/TangoGroup/react-components/releases/30929742/assets',
upload_url:
'https://uploads.github.com/repos/TangoGroup/react-components/releases/30929742/assets{?name,label}',
html_url:
'https://github.com/TangoGroup/react-components/releases/tag/v0.0.7',
id: 30929742,
node_id: 'MDc6UmVsZWFzZTMwOTI5NzQy',
tag_name: 'v0.0.7',
target_commitish: 'master',
name: 'v0.0.7',
draft: false,
author:
{ login: 'goldenshun',
id: 2985457,
node_id: 'MDQ6VXNlcjI5ODU0NTc=',
avatar_url: 'https://avatars0.githubusercontent.com/u/2985457?v=4',
gravatar_id: '',
url: 'https://api.github.com/users/goldenshun',
html_url: 'https://github.com/goldenshun',
followers_url: 'https://api.github.com/users/goldenshun/followers',
following_url:
'https://api.github.com/users/goldenshun/following{/other_user}',
gists_url: 'https://api.github.com/users/goldenshun/gists{/gist_id}',
starred_url:
'https://api.github.com/users/goldenshun/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/goldenshun/subscriptions',
organizations_url: 'https://api.github.com/users/goldenshun/orgs',
repos_url: 'https://api.github.com/users/goldenshun/repos',
events_url: 'https://api.github.com/users/goldenshun/events{/privacy}',
received_events_url: 'https://api.github.com/users/goldenshun/received_events',
type: 'User',
site_admin: false },
prerelease: false,
created_at: '2020-09-08T18:58:32Z',
published_at: '2020-09-08T18:58:54Z',
assets: [],
tarball_url:
'https://api.github.com/repos/TangoGroup/react-components/tarball/v0.0.7',
zipball_url:
'https://api.github.com/repos/TangoGroup/react-components/zipball/v0.0.7',
body:
'### Release Notes\n\n_From #21_\n\n\n\n_From #37_\n\n\n\n---\n\n#### 🐛 Bug Fix\n\n- Snackbar Component [#21](https://github.com/TangoGroup/react-components/pull/21) ([@goldenshun](https://github.com/goldenshun))\n- Simplify dependabot workflow [#37](https://github.com/TangoGroup/react-components/pull/37) ([@goldenshun](https://github.com/goldenshun))\n\n#### Authors: 1\n\n- Sean Connolly ([@goldenshun](https://github.com/goldenshun))' }
ℹ info Using package.json to calculate previous version
npm ERR! code E404
npm ERR! 404 Not found : @gloojs/react-components
npm ERR! 404
npm ERR! 404 '@gloojs/react-components' is not in the npm registry.
npm ERR! 404 You should bug the author to publish it (or use the name yourself!)
npm ERR! 404
npm ERR! 404 Note that you can also install from a
npm ERR! 404 tarball, folder, http url, or git url.
npm ERR! A complete log of this run can be found in:
npm ERR! /home/circleci/.npm/_logs/2020-09-21T18_36_45_994Z-debug.log
ℹ info NPM: Got previous version from package.json v0.0.7
ℹ info Getting labels for project: react-components
ℹ info Got response for "getProjectLabels":
[ { id: 2308373391,
node_id: 'MDU6TGFiZWwyMzA4MzczMzkx',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/dependencies',
name: 'dependencies',
color: '0366d6',
default: false,
description: 'Pull requests that update a dependency file' },
{ id: 2172356206,
node_id: 'MDU6TGFiZWwyMTcyMzU2MjA2',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/documentation',
name: 'documentation',
color: 'cfd3d7',
default: true,
description: 'Changes only affect the documentation' },
{ id: 2282192340,
node_id: 'MDU6TGFiZWwyMjgyMTkyMzQw',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/major',
name: 'major',
color: 'c5000b',
default: false,
description: 'Increment the major version when merged' },
{ id: 2282192408,
node_id: 'MDU6TGFiZWwyMjgyMTkyNDA4',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/minor',
name: 'minor',
color: 'f1a60e',
default: false,
description: 'Increment the minor version when merged' },
{ id: 2282192441,
node_id: 'MDU6TGFiZWwyMjgyMTkyNDQx',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/patch',
name: 'patch',
color: '870048',
default: false,
description: 'Increment the patch version when merged' },
{ id: 2282192494,
node_id: 'MDU6TGFiZWwyMjgyMTkyNDk0',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/skip-release',
name: 'skip-release',
color: 'bf5416',
default: false,
description: 'Preserve the current version when merged' } ]
ℹ info Found labels on project:
[ { id: 2308373391,
node_id: 'MDU6TGFiZWwyMzA4MzczMzkx',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/dependencies',
name: 'dependencies',
color: '0366d6',
default: false,
description: 'Pull requests that update a dependency file' },
{ id: 2172356206,
node_id: 'MDU6TGFiZWwyMTcyMzU2MjA2',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/documentation',
name: 'documentation',
color: 'cfd3d7',
default: true,
description: 'Changes only affect the documentation' },
{ id: 2282192340,
node_id: 'MDU6TGFiZWwyMjgyMTkyMzQw',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/major',
name: 'major',
color: 'c5000b',
default: false,
description: 'Increment the major version when merged' },
{ id: 2282192408,
node_id: 'MDU6TGFiZWwyMjgyMTkyNDA4',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/minor',
name: 'minor',
color: 'f1a60e',
default: false,
description: 'Increment the minor version when merged' },
{ id: 2282192441,
node_id: 'MDU6TGFiZWwyMjgyMTkyNDQx',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/patch',
name: 'patch',
color: '870048',
default: false,
description: 'Increment the patch version when merged' },
{ id: 2282192494,
node_id: 'MDU6TGFiZWwyMjgyMTkyNDk0',
url:
'https://api.github.com/repos/TangoGroup/react-components/labels/skip-release',
name: 'skip-release',
color: 'bf5416',
default: false,
description: 'Preserve the current version when merged' } ]
Environment Information:
"auto" version: v9.53.1
"git" version: v2.11.0
"node" version: v10.15.1
Project Information:
✔ Repository: TangoGroup/react-components (https://github.com/TangoGroup/react-components)
✔ Author Name: The Gloo Web Team
✖ Author Email: undefined
✔ Current Version: v0.0.7
✔ Latest Release: v0.0.7 (https://github.com/TangoGroup/react-components/releases/tag/v0.0.7)
✖ Labels configured on GitHub project (Try running "auto create-labels")
GitHub Token Information:
✔ Token: [Token starting with 8ed9]
✔ Repo Permission: admin
✔ User: goldenshun
✔ API: undefined (undefined)
✔ Enabled Scopes: repo
✔ Rate Limit: 4863/5000
ℹ info Using command: 'shipit'
4365448b748c768419fdae78ed47702b5d4e7951
ℹ info Getting commits from HEAD^ to HEAD
244e45e501234a5a1d09ababdb30d5ee53163fac
4365448b748c768419fdae78ed47702b5d4e7951
4365448b748c768419fdae78ed47702b5d4e7951
ℹ info Got gitlog:
[ { hash: '6d65630feba6f24e26cadc40296ef54dbdb851db',
authorName: 'Sean Connolly',
authorEmail: '[email protected]',
subject: 'Auto test 2\n',
files: [ '/home/circleci/project/.circleci/config.yml' ] } ]
ℹ info Getting info for commit: 6d65630feba6f24e26cadc40296ef54dbdb851db
ℹ info Got response for "repos.getCommit":
{ status: 200,
url:
'https://api.github.com/repos/TangoGroup/react-components/commits/6d65630feba6f24e26cadc40296ef54dbdb851db',
headers:
{ 'access-control-allow-origin': '*',
'access-control-expose-headers':
'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset',
'cache-control': 'private, max-age=60, s-maxage=60',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': 'default-src \'none\'',
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 21 Sep 2020 18:36:46 GMT',
etag:
'W/"580714c6483cb3b16e09133e28fa1dbb38576b6e1c573867afc7b5094ffe1f0c"',
'last-modified': 'Mon, 21 Sep 2020 18:34:07 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
status: '200 OK',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary:
'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With',
'x-accepted-oauth-scopes': '',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-media-type': 'github.v3; param=symmetra-preview; format=json',
'x-github-request-id': 'B328:6274:4656E9:CC88E5:5F68F2BE',
'x-oauth-scopes': 'repo',
'x-ratelimit-limit': '5000',
'x-ratelimit-remaining': '4859',
'x-ratelimit-reset': '1600713421',
'x-ratelimit-used': '141',
'x-xss-protection': '1; mode=block' },
data:
{ sha: '6d65630feba6f24e26cadc40296ef54dbdb851db',
node_id:
'MDY6Q29tbWl0Mjc2MTkwNDQ0OjZkNjU2MzBmZWJhNmYyNGUyNmNhZGM0MDI5NmVmNTRkYmRiODUxZGI=',
commit:
{ author: [Object],
committer: [Object],
message: 'Auto test 2',
tree: [Object],
url:
'https://api.github.com/repos/TangoGroup/react-components/git/commits/6d65630feba6f24e26cadc40296ef54dbdb851db',
comment_count: 0,
verification: [Object] },
url:
'https://api.github.com/repos/TangoGroup/react-components/commits/6d65630feba6f24e26cadc40296ef54dbdb851db',
html_url:
'https://github.com/TangoGroup/react-components/commit/6d65630feba6f24e26cadc40296ef54dbdb851db',
comments_url:
'https://api.github.com/repos/TangoGroup/react-components/commits/6d65630feba6f24e26cadc40296ef54dbdb851db/comments',
author:
{ login: 'goldenshun',
id: 2985457,
node_id: 'MDQ6VXNlcjI5ODU0NTc=',
avatar_url: 'https://avatars0.githubusercontent.com/u/2985457?v=4',
gravatar_id: '',
url: 'https://api.github.com/users/goldenshun',
html_url: 'https://github.com/goldenshun',
followers_url: 'https://api.github.com/users/goldenshun/followers',
following_url:
'https://api.github.com/users/goldenshun/following{/other_user}',
gists_url: 'https://api.github.com/users/goldenshun/gists{/gist_id}',
starred_url:
'https://api.github.com/users/goldenshun/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/goldenshun/subscriptions',
organizations_url: 'https://api.github.com/users/goldenshun/orgs',
repos_url: 'https://api.github.com/users/goldenshun/repos',
events_url: 'https://api.github.com/users/goldenshun/events{/privacy}',
received_events_url: 'https://api.github.com/users/goldenshun/received_events',
type: 'User',
site_admin: false },
committer:
{ login: 'goldenshun',
id: 2985457,
node_id: 'MDQ6VXNlcjI5ODU0NTc=',
avatar_url: 'https://avatars0.githubusercontent.com/u/2985457?v=4',
gravatar_id: '',
url: 'https://api.github.com/users/goldenshun',
html_url: 'https://github.com/goldenshun',
followers_url: 'https://api.github.com/users/goldenshun/followers',
following_url:
'https://api.github.com/users/goldenshun/following{/other_user}',
gists_url: 'https://api.github.com/users/goldenshun/gists{/gist_id}',
starred_url:
'https://api.github.com/users/goldenshun/starred{/owner}{/repo}',
subscriptions_url: 'https://api.github.com/users/goldenshun/subscriptions',
organizations_url: 'https://api.github.com/users/goldenshun/orgs',
repos_url: 'https://api.github.com/users/goldenshun/repos',
events_url: 'https://api.github.com/users/goldenshun/events{/privacy}',
received_events_url: 'https://api.github.com/users/goldenshun/received_events',
type: 'User',
site_admin: false },
parents: [ [Object] ],
stats: { total: 2, additions: 1, deletions: 1 },
files: [ [Object] ] } }
ℹ info Found author: goldenshun [email protected] Sean Connolly
ℹ info Searching repo using:
{ q:
'repo:TangoGroup/react-components is:pr is:merged merged:>=2020-09-08T18:58:54Z' }
ℹ info Got response from search
{ status: 200,
url:
'https://api.github.com/search/issues?q=repo%3ATangoGroup%2Freact-components%20is%3Apr%20is%3Amerged%20merged%3A%3E%3D2020-09-08T18%3A58%3A54Z',
headers:
{ 'access-control-allow-origin': '*',
'access-control-expose-headers':
'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, Deprecation, Sunset',
'cache-control': 'no-cache',
connection: 'close',
'content-encoding': 'gzip',
'content-security-policy': 'default-src \'none\'',
'content-type': 'application/json; charset=utf-8',
date: 'Mon, 21 Sep 2020 18:36:46 GMT',
'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',
server: 'GitHub.com',
status: '200 OK',
'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',
'transfer-encoding': 'chunked',
vary:
'Accept, Authorization, Cookie, X-GitHub-OTP, Accept-Encoding, Accept, X-Requested-With',
'x-accepted-oauth-scopes': '',
'x-content-type-options': 'nosniff',
'x-frame-options': 'deny',
'x-github-media-type': 'github.v3; param=symmetra-preview; format=json',
'x-github-request-id': 'B344:512E:6C4AF5F:B8D0F0D:5F68F2BE',
'x-oauth-scopes': 'repo',
'x-ratelimit-limit': '30',
'x-ratelimit-remaining': '29',
'x-ratelimit-reset': '1600713466',
'x-ratelimit-used': '1',
'x-xss-protection': '1; mode=block' },
data: { total_count: 0, incomplete_results: false, items: [] } }
ℹ info Searched repo on GitHub.
ℹ info Added labels to commits:
[ { labels: [],
hash: '6d65630feba6f24e26cadc40296ef54dbdb851db',
authorName: 'Sean Connolly',
authorEmail: '[email protected]',
subject: 'Auto test 2\n',
files: [ '/home/circleci/project/.circleci/config.yml' ],
authors: [ [Object] ] } ]
ℹ info Querying Github using GraphQL:
{
hash_6d65630feba6f24e26cadc40296ef54dbdb851db: search(query: "repo:TangoGroup/react-components 6d65630feba6f24e26cadc40296ef54dbdb851db", type: ISSUE, first: 10) {
edges {
node {
... on PullRequest {
number
state
body
headRefName
headRepositoryOwner {
login
}
labels(first: 10) {
edges {
node {
name
}
}
}
}
}
}
}
rateLimit {
limit
cost
remaining
resetAt
}
}
ℹ info Got response from query
{ hash_6d65630feba6f24e26cadc40296ef54dbdb851db: { edges: [ [Object] ] },
rateLimit:
{ limit: 5000,
cost: 1,
remaining: 4994,
resetAt: '2020-09-21T19:29:06Z' } }
ℹ info Found author: goldenshun [email protected] Sean Connolly
ℹ info { currentBranch: 'chore/auto-test-2',
isBaseBranch: false,
isPR: true,
shouldGraduate: true,
isPrereleaseBranch: false,
publishPrerelease: false }
ℹ info Canary info found: { pr: '50', build: '574' }
4365448b748c768419fdae78ed47702b5d4e7951
ℹ info Found author: goldenshun [email protected] Sean Connolly
ℹ info Calling canary hook
● note Using https://registry.npmjs.org/ registry for package
ℹ info Will set authentication token string in /home/circleci/.npmrc
ℹ info Writing authentication token string, //registry.npmjs.org/:_authToken=${NPM_TOKEN}, to /home/circleci/.npmrc
✔ success Wrote authentication token string to /home/circleci/.npmrc
ℹ info Set CI NPM_TOKEN
v0.0.7
ℹ info Detected single npm package
ℹ info Using package.json to calculate previous version
ℹ info NPM: Got previous version from package.json v0.0.7
ℹ info Version "0.0.8-canary.50.574.0" is available!