Comments (8)
I think you ran npx semantic-release-cli setup
, not npx semantic-release setup
.
The CLI really needs some love, but the current maintainers cannot find the time for it.
For this particular case, we wait for the CLI authentication library from @octokit, which will use the OAuth web flow instead of the deprecated authorization APIs
from cli.
while at it, we should also replace the default travis setup with GitHub actions, because Travis became close to useless lately
from cli.
this is what my usual release GitHub action looks like:
https://github.com/octokit/core.js/blob/master/.github/workflows/release.yml
You don't need to configure the GITHUB_TOKEN, it's already provided. Unless you have actions triggered by the release
event, in which case you need to use a personal access token, because actions don't trigger actions.
from cli.
👋 Just to let you know that I've experienced the same issues after setting up semantic-release
on two of my npm packages.
from cli.
Ran into this issue as well: https://developer.github.com/v3/oauth_authorizations/#create-a-new-authorization
It still posts to https://api.github.com/authorizations and returns the following:
StatusCodeError: 404 - {"message":"Not Found","documentation_url":"https://docs.github.com/rest"}
I believe the octokit module should have the functionality now from browsing around.
from cli.
sorry :( it really is about time we replace the username/password with an OAuth flow. I might find some time to get this finally going this week
from cli.
I'm literally in the middle of implementing a Github action as my Travis job was essentially in a queue for like 3 hours before being ran, which is pretty bad for such a popular tool.
And it's fine, no huge rush, I just had to reverse engineer what the script was trying to do and applied the environment variables and tokens manually.
If you don't have the time to work on the code, a documentation for the manual process should suffice for new users (as it's pretty straightforward).
from cli.
this is what my usual release GitHub action looks like:
https://github.com/octokit/core.js/blob/master/.github/workflows/release.ymlYou don't need to configure the GITHUB_TOKEN, it's already provided. Unless you have actions triggered by the
release
event, in which case you need to use a personal access token, because actions don't trigger actions.
Thanks a lot!
from cli.
Related Issues (20)
- Error running semantic-release-cli setup , TypeError [ERR_INVALID_ARG_TYPE] HOT 2
- Cli setup failing with Github 2fa account HOT 2
- Github action is triggered twice
- Why does GitHub token require `user:email` and `write:repo_hook` scope? HOT 1
- no access token supplied HOT 10
- ERR! 401 without further info (Travis-CI Pro) HOT 3
- ⚠️ Currently broken due to defunkt Basic Auth APIs HOT 5
- info.github.endpoint is undefined when running npx semantic-release-cli setup HOT 2
- Cannot use arrow keys to choose CI HOT 8
- Cannot setup/init on git-submodule-repo because of non-existent .git/config HOT 2
- xsel: Can't open display: (null)\n: Inappropriate ioctl for device HOT 2
- package-lock.json is not updated HOT 2
- npx semantic-release-cli setup HOT 1
- github actions example uses node version 12 HOT 1
- How to use with NX Monorepo HOT 2
- Error: GitHub repository URL is invalid: https:undefined.git
- semantic-release-cli setup could not get repository url HOT 1
- Babel issue when running npx semantic-release-cli setup HOT 1
- Basic Auth error when trying to attempt a dry-run
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from cli.