mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
chore(scripts): auto authenticate gh CLI in scripts on dogfood (#13107)
* chore: auto authenticate gh CLI in scripts * fix shellcheck issues
This commit is contained in:
@@ -31,6 +31,9 @@ range="${from_ref}..${to_ref}"
|
||||
# Check dependencies.
|
||||
dependencies gh
|
||||
|
||||
# Authenticate gh CLI
|
||||
gh_auth
|
||||
|
||||
COMMIT_METADATA_BREAKING=0
|
||||
declare -a COMMIT_METADATA_COMMITS
|
||||
declare -A COMMIT_METADATA_TITLE COMMIT_METADATA_HUMAN_TITLE COMMIT_METADATA_CATEGORY COMMIT_METADATA_AUTHORS
|
||||
@@ -145,7 +148,6 @@ main() {
|
||||
done
|
||||
} | sort -t- -n | head -n 1
|
||||
)
|
||||
|
||||
# Get the labels for all PRs merged since the last release, this is
|
||||
# inexact based on date, so a few PRs part of the previous release may
|
||||
# be included.
|
||||
|
||||
Reference in New Issue
Block a user