Sign in or sign up before continuing. Don't have an account yet? Register now to get started.
CI Job Token cannot generate changelog
### Checklist
<!-- Please test the latest versions, that will remove the possibility that you see a bug that is fixed in a newer version. -->
- [x] I'm using the latest version of the extension (Run `glab --version`)
- Extension version: 1.91.0
- [x] Operating system and version: _Put your version here_
- [x] Gitlab.com or self-managed instance? self-managed instance
- [x] GitLab version (if self-managed) 18.10.0
(Use the `version` endpoint, like this: gitlab.my-company.com/api/v4/version)
- [ ] I have performed `glab auth status` to check for authentication issues
- [ ] Run the command in debug mode (like `DEBUG=true glab mr list`) and attach any useful output
### Summary
When I check the source code, I found that `glab changelog generate` is requesting `/projects/:id` endpoint for the project id.
https://gitlab.com/gitlab-org/cli/-/blob/main/internal/commands/changelog/generate/changelog_generate.go?ref_type=heads#L94-97
However, the CI/CD Job Token is not allowed to access the `/projects/:id` endpoint.
https://docs.gitlab.com/ci/jobs/fine_grained_permissions/#available-api-endpoints
The result is that, it can generate the changelog by directly calling `/projects/:id/repository/changelog` but not using the `glab` command.
### Environment
<!--
on POSIX system (Linux, MacOS), run
bash -c 'printf -- "- OS: %s\n- SHELL: %s\n- TERM: %s\n- GLAB: %s" "$(uname -srm)" "$SHELL" "$TERM" "$(glab --version)"'
and replace the following section with the result.
If you use non-POSIX system, fill in the section manually:
- OS: Your operating system including version and architecture (Windows 11 - AMD64, MacOS Sonoma - ARM64)
- SHELL: Your shell (bash, fish, zsh, ...)
- TERM: Your terminal emulator (Kitty, Xterm2..)
- GLAB: result of running `glab --version` (glab version 1.32.0 (2023-08-18))
-->
- OS:
- SHELL:
- TERM:
- GLAB:
<!--
Please include any other information that you believe might be relevant
in debugging. For example, you may include a shell framework like oh-my-zsh
or other customizations like editing the prompt (PS1, PS2, and others).
-->
Other:
### Steps to reproduce
Use the below CI/CD pipeline in private repo and generate changelog.
```yml
release:
stage: Release
image: registry.gitlab.com/gitlab-org/cli:latest
rules:
- if: '$CI_COMMIT_TAG =~ /^v?\d+\.\d+\.\d+$/'
variables:
GITLAB_HOST: $CI_SERVER_URL
GLAB_DEBUG: "true"
GLAB_DEBUG_HTTP: "true"
GLAB_FORCE_HYPERLINKS: "true"
GLAB_CHECK_UPDATE: "false"
GLAB_SEND_TELEMETRY: "false"
GLAB_ENABLE_CI_AUTOLOGIN: "true"
script:
- echo "Check GitLab Release"
- glab release list -R $CI_PROJECT_PATH
- echo "Creating GitLab Release"
- glab changelog generate --version $CI_COMMIT_TAG > RELEASE_NOTES.md
release:
name: "$CI_COMMIT_TAG"
description: RELEASE_NOTES.md
tag_name: "$CI_COMMIT_TAG"
ref: "$CI_COMMIT_SHA"
```
### What is the current _bug_ behavior?
Resulted in 404 when requesting `/projects/:id`
### What is the expected _correct_ behavior?
Successfully generate changelog.
### Relevant logs and/or screenshots
```
2026-04-03T11:19:13.574183Z 00O [0KRunning with gitlab-runner 18.10.0 (ac71f4d8)[0;m
2026-04-03T11:19:13.574242Z 00O [0K on 742e996b1374 _T1TTzUsx, system ID: r_3h7COkpuspDT[0;m
2026-04-03T11:19:13.574257Z 00O [0K feature flags: FF_NETWORK_PER_BUILD:true[0;m
2026-04-03T11:19:13.574311Z 00O section_start:1775215153:prepare_executor
2026-04-03T11:19:13.574313Z 00O+[0K[0K[36;1mPreparing the "docker" executor[0;m[0;m
2026-04-03T11:19:14.262587Z 00O [0KUsing Docker executor with image registry.gitlab.com/gitlab-org/cli:latest ...[0;m
2026-04-03T11:19:14.938361Z 00O [0KUsing effective pull policy of [always] for container registry.gitlab.com/gitlab-org/cli:latest[0;m
2026-04-03T11:19:14.952168Z 00O [0KPulling docker image registry.gitlab.com/gitlab-org/cli:latest ...[0;m
2026-04-03T11:19:16.612585Z 00O [0KUsing docker image sha256:3ec9d20bb2808a1b60a788b9edb1fa8571d8f1bdebdcfe1ef92141544456dbd1 for registry.gitlab.com/gitlab-org/cli:latest with digest registry.gitlab.com/gitlab-org/cli@sha256:63664215b18f9cda2a413b25bd96fd5e840937ca20621f95d112ab340da41202 ...[0;m
2026-04-03T11:19:16.612605Z 00O section_end:1775215156:prepare_executor
2026-04-03T11:19:16.612607Z 00O+[0Ksection_start:1775215156:prepare_script
2026-04-03T11:19:16.613719Z 00O+[0K[0K[36;1mPreparing environment[0;m[0;m
2026-04-03T11:19:16.620856Z 00O [0KUsing effective pull policy of [always] for container sha256:719857ad2c9a7a863da16cefc6467d108f86e1e81ac1dc5fc82827460183d7f9[0;m
2026-04-03T11:19:17.030500Z 01O Running on runner-t1ttzusx-project-135-concurrent-0 via 66859067362c...
2026-04-03T11:19:17.064047Z 00O section_end:1775215157:prepare_script
2026-04-03T11:19:17.064069Z 00O+[0Ksection_start:1775215157:get_sources
2026-04-03T11:19:17.068647Z 00O+[0K[0K[36;1mGetting source from Git repository[0;m[0;m
2026-04-03T11:19:17.667149Z 01O [32;1mGitaly correlation ID: 01KN9H2YRZF7AXH85R6JFH6MN7[0;m
2026-04-03T11:19:17.675269Z 01O [32;1mFetching changes with git depth set to 20...[0;m
2026-04-03T11:19:17.679121Z 01O Reinitialized existing Git repository in /builds/<redacted project id>/.git/
2026-04-03T11:19:17.683342Z 01O [32;1mCreated fresh repository.[0;m
2026-04-03T11:19:19.670580Z 01O [32;1mChecking out beb3aa32 as detached HEAD (ref is v1.0.2)...[0;m
2026-04-03T11:19:19.689462Z 01O Removing RELEASE_NOTES.md
2026-04-03T11:19:19.783521Z 01O
2026-04-03T11:19:19.783662Z 01O [32;1mSkipping Git submodules setup[0;m
2026-04-03T11:19:19.826537Z 00O section_end:1775215159:get_sources
2026-04-03T11:19:19.826548Z 00O+[0Ksection_start:1775215159:step_script
2026-04-03T11:19:19.831999Z 00O+[0K[0K[36;1mExecuting "step_script" stage of the job script[0;m[0;m
2026-04-03T11:19:19.832195Z 00O [0KUsing effective pull policy of [always] for container registry.gitlab.com/gitlab-org/cli:latest[0;m
2026-04-03T11:19:19.841023Z 00O [0KUsing docker image sha256:3ec9d20bb2808a1b60a788b9edb1fa8571d8f1bdebdcfe1ef92141544456dbd1 for registry.gitlab.com/gitlab-org/cli:latest with digest registry.gitlab.com/gitlab-org/cli@sha256:63664215b18f9cda2a413b25bd96fd5e840937ca20621f95d112ab340da41202 ...[0;m
2026-04-03T11:19:20.379139Z 01O [32;1m$ echo "Check GitLab Release"[0;m
2026-04-03T11:19:20.379192Z 01O Check GitLab Release
2026-04-03T11:19:20.379193Z 01O [32;1m$ glab release list -R $CI_PROJECT_PATH[0;m
2026-04-03T11:19:20.549475Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.549489Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.549499Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.549500Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556403Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556426Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556441Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556443Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556445Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556446Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556448Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556449Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556495Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556497Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556499Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556501Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.556505Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608757Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608771Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608788Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608790Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608791Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608793Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608794Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608796Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608797Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.608799Z 01E 2026/04/03 11:19:20 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:20.609470Z 01E REQUEST:
2026-04-03T11:19:20.609498Z 01E GET /api/v4/projects/<redacted project id>/releases?page=1&per_page=30 HTTP/1.1
2026-04-03T11:19:20.609499Z 01E Host: <redacted gitlab hostname>
2026-04-03T11:19:20.609510Z 01E User-Agent: glab/v1.91.0 (linux, amd64)
2026-04-03T11:19:20.609511Z 01E Accept: application/json
2026-04-03T11:19:20.609512Z 01E Job-Token: [REDACTED]
2026-04-03T11:19:20.609513Z 01E Accept-Encoding: gzip
2026-04-03T11:19:20.609513Z 01E
2026-04-03T11:19:20.609514Z 01E
2026-04-03T11:19:20.609515Z 01E
2026-04-03T11:19:21.095719Z 01E RESPONSE:
2026-04-03T11:19:21.095733Z 01E HTTP/2.0 200 OK
2026-04-03T11:19:21.095735Z 01E Content-Length: 9898
2026-04-03T11:19:21.095736Z 01E Alt-Svc: h3=":443"; ma=2592000
2026-04-03T11:19:21.095737Z 01E Cache-Control: max-age=0, private, must-revalidate
2026-04-03T11:19:21.095739Z 01E Content-Type: application/json
2026-04-03T11:19:21.095739Z 01E Date: Fri, 03 Apr 2026 11:19:21 GMT
2026-04-03T11:19:21.095740Z 01E Etag: W/"0c696297d78e04efa77cda309b9045c6"
2026-04-03T11:19:21.095741Z 01E Link: <https://<redacted gitlab hostname>/api/v4/projects/<redacted project id>/releases?id=<redacted project id>&order_by=released_at&page=1&per_page=30&sort=desc>; rel="first", <https://<redacted gitlab hostname>/api/v4/projects/<redacted project id>/releases?id=<redacted project id>&order_by=released_at&page=1&per_page=30&sort=desc>; rel="last"
2026-04-03T11:19:21.095746Z 01E Nel: {"max_age": 0}
2026-04-03T11:19:21.095747Z 01E Strict-Transport-Security: max-age=31536000
2026-04-03T11:19:21.095748Z 01E Vary: Origin
2026-04-03T11:19:21.095748Z 01E Via: 1.1 Caddy
2026-04-03T11:19:21.095749Z 01E X-Content-Type-Options: nosniff
2026-04-03T11:19:21.095750Z 01E X-Frame-Options: SAMEORIGIN
2026-04-03T11:19:21.095751Z 01E X-Gitlab-Meta: {"correlation_id":"01KN9H3B9B0GGT355BZQ1R6QS6","version":"1"}
2026-04-03T11:19:21.095752Z 01E X-Next-Page:
2026-04-03T11:19:21.095753Z 01E X-Page: 1
2026-04-03T11:19:21.095754Z 01E X-Per-Page: 30
2026-04-03T11:19:21.095755Z 01E X-Prev-Page:
2026-04-03T11:19:21.095756Z 01E X-Request-Id: 01KN9H3B9B0GGT355BZQ1R6QS6
2026-04-03T11:19:21.095757Z 01E X-Runtime: 0.470672
2026-04-03T11:19:21.095758Z 01E X-Total: 2
2026-04-03T11:19:21.095759Z 01E X-Total-Pages: 1
2026-04-03T11:19:21.095760Z 01E
2026-04-03T11:19:21.095766Z 01E [{"name":"v1.0.0","tag_name":"v1.0.0","description":"## 1.0.0 (2026-03-06)\n\n### 🚀 New features (6 changes)\n\n- [feat: add inquiry quote and invoice](<redacted project id>@51ca8e443d5e079524868827682d6f65647a6ac9) by @kaka. \n- [feat: add inquiry status](<redacted project id>@da811de79784cc2ac21933e9a966d6fe48e054f9) by @kaka.\n- [feat: allow international category and product](<redacted project id>@566731961ce90e1522a3322e25285cebf062af4b) by @kaka.\n- [feat: collections](<redacted project id>@f3e621e814a4e6051e4f98e5274f8669dda9ddaf) by @kaka.\n- [feat: static pages](<redacted project id>@ce6b406cecde0c8050faa063e7991fc58c53c24a) by @kaka.\n- [feat: change admin logo](<redacted project id>@6fdc6777579556df02909dae6141249c1e85fe4a) by @kaka.\n\n### 🐞 Bug Fixes (1 change)\n\n- [fix: uuid generation](<redacted project id>@7b7b700c6cab4fc27f28efab79102a04f2467b3e) by @kaka.\n\n### 📦 Dependency updates (5 changes)\n\n- [chore: update deps](<redacted project id>@22eaf480e6d8105a829243cb5a7bf2b190ed9edc) by @kaka.\n- [chore: add pdfjs-autotable](<redacted project id>@dc88e92c970f0ac2ea53f88164c909acebe164b1) by @kaka.\n- [chore: update deps](<redacted project id>@ae6cc678711e929e9b0dbfe5c0f04aeb7150d413) by @kaka.\n- [chore: update deps](<redacted project id>@e04d425877b4b4040c8e45635a2574c049721ee8) by @kaka.\n- [chore: update deps](<redacted project id>@6990d5380a98f98fbf15d933d771f5632e134691) by @kaka.\n\n### 🧰 Maintenance (4 changes)\n\n- [chore: add dependabot](<redacted project id>@4cbdeeeb56bc30175a12a69704e7691ab3bf7f70) by @kaka.\n- [chore: update translation](<redacted project id>@d2fee4dc11813f22a460cc5bd5056c1cd23e9411) by @kaka.\n- [chore: update translation](<redacted project id>@6251fc86417f124b44aab8b575a5f2317b419a16) by @kaka.\n- [chore: allows mysql connection](<redacted project id>@6cd6146980502182d7cec940aa4b352370f41d6a) by @kaka. \n\n### build (4 changes)\n\n- [build: fix pnpm and strapi incompitable](<redacted project id>@2ed48c5904ad568a15c070cea4f2a47b01837cd4) by @kaka.\n- [build: allows binding sockets](<redacted project id>@a8f812e3c087c9cae577fbc35a1838ebe6478d5d) by @kaka.\n- [build: use production mode](<redacted project id>@f5fc32be07667d05ab1a4abbae436a208abdfae1) by @kaka.\n- [build: allow auto build](<redacted project id>@6311e39cbfb64745a0f3363cf817dd19bf2cc3d6) by @kaka.","created_at":"2026-04-03T08:52:46.140Z","released_at":"2026-03-05T16:00:00.000Z","upcoming_release":false,"author":{"id":1,"username":"kaka","public_email":"kaka@kakang.dev","name":"KaKa","state":"active","locked":false,"avatar_url":"https://<redacted gitlab hostname>/uploads/-/system/user/avatar/1/avatar.png","web_url":"https://<redacted gitlab hostname>/kaka"},"commit":{"id":"4cbdeeeb56bc30175a12a69704e7691ab3bf7f70","short_id":"4cbdeeeb","created_at":"2026-04-03T16:29:41.000+08:00","parent_ids":["22eaf480e6d8105a829243cb5a7bf2b190ed9edc"],"title":"chore: add dependabot","message":"chore: add dependabot\n\nChangelog: chore\n","author_name":"KaKa","author_email":"kaka@kakang.dev","authored_date":"2026-03-06T03:18:32.000+08:00","committer_name":"KaKa","committer_email":"kaka@kakang.dev","committed_date":"2026-04-03T16:29:41.000+08:00","trailers":{},"extended_trailers":{},"web_url":"https://<redacted gitlab hostname>/<redacted project id>/-/commit/4cbdeeeb56bc30175a12a69704e7691ab3bf7f70"},"commit_path":"/<redacted project id>/-/commit/4cbdeeeb56bc30175a12a69704e7691ab3bf7f70","tag_path":"/<redacted project id>/-/tags/v1.0.0","assets":{"count":4,"sources":[{"format":"zip","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.0/crm-v1.0.0.zip"},{"format":"tar.gz","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.0/crm-v1.0.0.tar.gz"},{"format":"tar.bz2","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.0/crm-v1.0.0.tar.bz2"},{"format":"tar","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.0/crm-v1.0.0.tar"}],"links":[]},"evidences":[],"_links":{"closed_issues_url":"https://<redacted gitlab hostname>/<redacted project id>/-/issues?release_tag=v1.0.0\u0026scope=all\u0026state=closed","closed_merge_requests_url":"https://<redacted gitlab hostname>/<redacted project id>/-/merge_requests?release_tag=v1.0.0\u0026scope=all\u0026state=closed","edit_url":"https://<redacted gitlab hostname>/<redacted project id>/-/releases/v1.0.0/edit","merged_merge_requests_url":"https://<redacted gitlab hostname>/<redacted project id>/-/merge_requests?release_tag=v1.0.0\u0026scope=all\u0026state=merged","opened_issues_url":"https://<redacted gitlab hostname>/<redacted project id>/-/issues?release_tag=v1.0.0\u0026scope=all\u0026state=opened","opened_merge_requests_url":"https://<redacted gitlab hostname>/<redacted project id>/-/merge_requests?release_tag=v1.0.0\u0026scope=all\u0026state=opened","self":"https://<redacted gitlab hostname>/<redacted project id>/-/releases/v1.0.0"}},{"name":"v1.0.1","tag_name":"v1.0.1","description":"## 1.0.1 (2026-03-06)\n\n### 📦 Dependency updates (2 changes)\n\n- [chore: bump @strapi/design-system from 2.1.2 to 2.2.0](<redacted project id>@bf0cfb89a77827e8f957cf89502285ef165b838e) by @dependabot.\n- [chore: bump mysql2 from 3.18.2 to 3.19.0](<redacted project id>@5ec31487b2c2692c51b15888443a954e79bc9795) by @dependabot.\n\n### 🔧 Continuous Integration (2 changes)\n\n- [ci: fix remove requirements of automation release](<redacted project id>@6f0bd3743214846a6558a0425dd6305138d32a89) by @kaka.\n- [ci: add automation release](<redacted project id>@786fd1cdc6fa49a13c646e8e34ad0a7cb430a25d) by @kaka.","created_at":"2026-04-03T08:53:48.464Z","released_at":"2026-03-05T16:00:00.000Z","upcoming_release":false,"author":{"id":1,"username":"kaka","public_email":"kaka@kakang.dev","name":"KaKa","state":"active","locked":false,"avatar_url":"https://<redacted gitlab hostname>/uploads/-/system/user/avatar/1/avatar.png","web_url":"https://<redacted gitlab hostname>/kaka"},"commit":{"id":"6f0bd3743214846a6558a0425dd6305138d32a89","short_id":"6f0bd374","created_at":"2026-04-03T16:29:43.000+08:00","parent_ids":["786fd1cdc6fa49a13c646e8e34ad0a7cb430a25d"],"title":"ci: fix remove requirements of automation release","message":"ci: fix remove requirements of automation release\n\nChangelog: ci\n","author_name":"KaKa","author_email":"kaka@kakang.dev","authored_date":"2026-03-06T19:45:15.000+08:00","committer_name":"KaKa","committer_email":"kaka@kakang.dev","committed_date":"2026-04-03T16:29:43.000+08:00","trailers":{},"extended_trailers":{},"web_url":"https://<redacted gitlab hostname>/<redacted project id>/-/commit/6f0bd3743214846a6558a0425dd6305138d32a89"},"commit_path":"/<redacted project id>/-/commit/6f0bd3743214846a6558a0425dd6305138d32a89","tag_path":"/<redacted project id>/-/tags/v1.0.1","assets":{"count":5,"sources":[{"format":"zip","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.1/crm-v1.0.1.zip"},{"format":"tar.gz","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.1/crm-v1.0.1.tar.gz"},{"format":"tar.bz2","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.1/crm-v1.0.1.tar.bz2"},{"format":"tar","url":"https://<redacted gitlab hostname>/<redacted project id>/-/archive/v1.0.1/crm-v1.0.1.tar"}],"links":[{"id":27,"name":"Container Image v1.0.1","url":"https://registry.kakang.dev/<redacted project id>:6f0bd3743214846a6558a0425dd6305138d32a89","direct_asset_url":"https://registry.kakang.dev/<redacted project id>:6f0bd3743214846a6558a0425dd6305138d32a89","link_type":"other"}]},"evidences":[{"sha":"bb8f0b12f0329df07d331b81bcfc6997a3a2ee75a78d","filepath":"https://<redacted gitlab hostname>/<redacted project id>/-/releases/v1.0.1/evidences/10.json","collected_at":"2026-04-03T08:53:49.116Z"}],"_links":{"closed_issues_url":"https://<redacted gitlab hostname>/<redacted project id>/-/issues?release_tag=v1.0.1\u0026scope=all\u0026state=closed","closed_merge_requests_url":"https://<redacted gitlab hostname>/<redacted project id>/-/merge_requests?release_tag=v1.0.1\u0026scope=all\u0026state=closed","edit_url":"https://<redacted gitlab hostname>/<redacted project id>/-/releases/v1.0.1/edit","merged_merge_requests_url":"https://<redacted gitlab hostname>/<redacted project id>/-/merge_requests?release_tag=v1.0.1\u0026scope=all\u0026state=merged","opened_issues_url":"https://<redacted gitlab hostname>/<redacted project id>/-/issues?release_tag=v1.0.1\u0026scope=all\u0026state=opened","opened_merge_requests_url":"https://<redacted gitlab hostname>/<redacted project id>/-/merge_requests?release_tag=v1.0.1\u0026scope=all\u0026state=opened","self":"https://<redacted gitlab hostname>/<redacted project id>/-/releases/v1.0.1"}}]
2026-04-03T11:19:21.095914Z 01E
2026-04-03T11:19:21.096404Z 01O Showing 2 releases on <redacted project id>.
2026-04-03T11:19:21.096410Z 01O
2026-04-03T11:19:21.096411Z 01O Name Tag Created
2026-04-03T11:19:21.096412Z 01O v1.0.0 v1.0.0 about 2 hours ago
2026-04-03T11:19:21.096413Z 01O v1.0.1 v1.0.1 about 2 hours ago
2026-04-03T11:19:21.096414Z 01O
2026-04-03T11:19:21.099739Z 01O [32;1m$ echo "Creating GitLab Release"[0;m
2026-04-03T11:19:21.099743Z 01O Creating GitLab Release
2026-04-03T11:19:21.099744Z 01O [32;1m$ glab changelog generate --version $CI_COMMIT_TAG > RELEASE_NOTES.md[0;m
2026-04-03T11:19:21.141646Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.141663Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.141665Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.141674Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148128Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148160Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148164Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148166Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148167Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148169Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148170Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148172Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148178Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148180Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148215Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148220Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.148222Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170769Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170783Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170800Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170802Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170804Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170805Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170807Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170808Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170810Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.170811Z 01E 2026/04/03 11:19:21 [CI auto-login is enabled because GLAB_ENABLE_CI_AUTOLOGIN and GITLAB_CI are both true. This enables auto-login using GitLab's predefined CI/CD variables and potentially authenticates with the CI_JOB_TOKEN]
2026-04-03T11:19:21.171377Z 01E REQUEST:
2026-04-03T11:19:21.171383Z 01E GET /api/v4/projects/<redacted project id>?license=true&with_custom_attributes=true HTTP/1.1
2026-04-03T11:19:21.171384Z 01E Host: <redacted gitlab hostname>
2026-04-03T11:19:21.171385Z 01E User-Agent: glab/v1.91.0 (linux, amd64)
2026-04-03T11:19:21.171386Z 01E Accept: application/json
2026-04-03T11:19:21.171387Z 01E Job-Token: [REDACTED]
2026-04-03T11:19:21.171388Z 01E Accept-Encoding: gzip
2026-04-03T11:19:21.171389Z 01E
2026-04-03T11:19:21.171425Z 01E
2026-04-03T11:19:21.171426Z 01E
2026-04-03T11:19:21.235248Z 01E RESPONSE:
2026-04-03T11:19:21.235264Z 01E HTTP/2.0 404 Not Found
2026-04-03T11:19:21.235266Z 01E Content-Length: 35
2026-04-03T11:19:21.235267Z 01E Alt-Svc: h3=":443"; ma=2592000
2026-04-03T11:19:21.235269Z 01E Cache-Control: no-cache
2026-04-03T11:19:21.235270Z 01E Content-Type: application/json
2026-04-03T11:19:21.235272Z 01E Date: Fri, 03 Apr 2026 11:19:21 GMT
2026-04-03T11:19:21.235273Z 01E Nel: {"max_age": 0}
2026-04-03T11:19:21.235274Z 01E Strict-Transport-Security: max-age=31536000
2026-04-03T11:19:21.235275Z 01E Vary: Origin
2026-04-03T11:19:21.235276Z 01E Via: 1.1 Caddy
2026-04-03T11:19:21.235278Z 01E X-Content-Type-Options: nosniff
2026-04-03T11:19:21.235279Z 01E X-Frame-Options: SAMEORIGIN
2026-04-03T11:19:21.235279Z 01E X-Gitlab-Meta: {"correlation_id":"01KN9H3BTQJ867PYW9YJ6WB1WJ","version":"1"}
2026-04-03T11:19:21.235281Z 01E X-Request-Id: 01KN9H3BTQJ867PYW9YJ6WB1WJ
2026-04-03T11:19:21.235282Z 01E X-Runtime: 0.055798
2026-04-03T11:19:21.235283Z 01E
2026-04-03T11:19:21.235284Z 01E {"message":"404 Project Not Found"}
2026-04-03T11:19:21.235286Z 01E
2026-04-03T11:19:21.235294Z 01E
2026-04-03T11:19:21.235295Z 01E ERROR
2026-04-03T11:19:21.235295Z 01E
2026-04-03T11:19:21.235366Z 01E 404 Not Found.
2026-04-03T11:19:21.235429Z 01E
2026-04-03T11:19:21.250918Z 00O section_end:1775215161:step_script
2026-04-03T11:19:21.250955Z 00O+[0Ksection_start:1775215161:cleanup_file_variables
2026-04-03T11:19:21.255142Z 00O+[0K[0K[36;1mCleaning up project directory and file based variables[0;m[0;m
2026-04-03T11:19:21.474892Z 00O section_end:1775215161:cleanup_file_variables
2026-04-03T11:19:21.474902Z 00O+[0K
2026-04-03T11:19:21.725168Z 00O [31;1mERROR: Job failed: exit code 1[0;m
```
### Possible fixes
Use another endpoint to find the project ID.
issue