update PAT ref

This commit is contained in:
Matthias Mair 2024-03-01 00:11:25 +01:00
parent 7db4abd487
commit e2e459601c
No known key found for this signature in database
GPG Key ID: A593429DDA23B66A

View File

@ -35,10 +35,10 @@ jobs:
auto_text=$(curl -L \
-X POST \
-H "Accept: application/vnd.github+json" \
-H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \
-H "Authorization: Bearer ${{ secrets.RELEASE_PAT }}" \
-H "X-GitHub-Api-Version: 2022-11-28" \
https://api.github.com/repos/inventree/InvenTree/releases/generate-notes \
-d '{"tag_name":"${{ steps.version.outputs.tag }}","target_commitish":"${{ steps.version.outputs.old_branch }}","previous_tag_name":"${{ steps.version.outputs.old_version }}","configuration_file_path":".github/release.yml"}')
-d '{"tag_name":"${{ steps.version.outputs.tag }}","target_commitish":"${{ steps.version.outputs.old_branch }}","previous_tag_name":"${{ steps.version.outputs.old_version }}"}')
echo $auto_text
echo "auto_text=$auto_text" >> $GITHUB_OUTPUT
- name: "Dummy: Set version"