Skip to content

Commit 2ec43b6

Browse files
committed
Remove the /user token check for actions
1 parent a71fe67 commit 2ec43b6

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

changerelease/cli.py

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -35,12 +35,6 @@ def sync(changelog, repo, api_url, token):
3535
}
3636
)
3737

38-
response = requests_session.get("/user")
39-
if not response.ok:
40-
click.secho(f"Failed to authenticate using token '{token}'", fg="red")
41-
exit(1)
42-
click.echo(f"Acting on behalf of {response.json()['login']}")
43-
4438
cl = Changelog(changelog)
4539

4640
for version in cl.versions:

0 commit comments

Comments
 (0)