This is an automated email from the ASF dual-hosted git repository.

pcongiusti pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/camel-k.git


The following commit(s) were added to refs/heads/main by this push:
     new daadf2c78 fix(ci): delete assets permissions
daadf2c78 is described below

commit daadf2c78534149e40f05f26de2c9ae3416dd285
Author: Pasquale Congiusti <[email protected]>
AuthorDate: Tue Nov 25 16:36:11 2025 +0100

    fix(ci): delete assets permissions
---
 .github/actions/release-nightly/action.yml | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/.github/actions/release-nightly/action.yml 
b/.github/actions/release-nightly/action.yml
index d42616559..aa2b1dbd5 100644
--- a/.github/actions/release-nightly/action.yml
+++ b/.github/actions/release-nightly/action.yml
@@ -173,7 +173,7 @@ runs:
         RELEASE_ID=${{ env.RELEASE_ID }}
         RELEASE_NOTES=$(cat << 'EOF'
         ```
-        NOTE: last update on {{ env.UPD_DATE }}
+        NOTE: last update on ${{ env.UPD_DATE }}
         ```
         Apache Camel K ${{ env.VERSION }} build for testing purposes only 
(unstable). This nightly release is using an **unsupported** operator image 
published as `${{ env.IMAGE_NAME }}:${{ env.VERSION }}`. The available 
platforms are AMD64 and ARM64.
         ## Kubectl
@@ -220,7 +220,7 @@ runs:
           for ASSET_ID in $ASSETS; do
             echo "Deleting asset $ASSET_ID"
             curl -s -X DELETE \
-                 -H "Authorization: token $TOKEN" \
+                 -H "Authorization: token $GITHUB_TOKEN" \
                  -H "Accept: application/vnd.github+json" \
                  
"https://api.github.com/repos/${GITHUB_REPOSITORY}/releases/assets/$ASSET_ID";
           done

Reply via email to