ci: Fix silent missing metadata for release notes (#6089)

* Fix use of `mapfile < <(cmd)` which silently hid errors

* Fix script paths since `SCRIPT_DIR` changed in `lib.sh`

* Set `GITHUB_TOKEN` in release.yaml
This commit is contained in:
Mathias Fredriksson
2023-02-08 14:40:52 +02:00
committed by GitHub
parent 1dc477819e
commit f6da0a6945
5 changed files with 18 additions and 15 deletions
+1
View File
@@ -63,6 +63,7 @@ jobs:
- name: Create release notes
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# We always have to set this since there might be commits on
# main that didn't have a PR.
CODER_IGNORE_MISSING_COMMIT_METADATA: "1"