Skip to content

Commit 67540fa

Browse files
committed
🚧 Debug
1 parent 8b52539 commit 67540fa

File tree

1 file changed

+12
-2
lines changed

1 file changed

+12
-2
lines changed

‎.github/workflows/addon-update-packages.yaml‎

Lines changed: 12 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -106,11 +106,21 @@ jobs:
106106
git config user.name 'Poeschl Home Assistant Addon-Botter'
107107
git config user.email '[email protected]'
108108
109+
- name: Debug token presence
110+
shell: bash
111+
run: |
112+
if [ -n "${{ secrets.UPDATER_TOKEN }}" ]; then
113+
echo "updater_token is set and not empty"
114+
echo "First 4 characters of updater_token: ${${{ secrets.UPDATER_TOKEN }}:0:4}"
115+
else
116+
echo "updater_token is either not set or empty, will use github.token as fallback"
117+
fi
118+
109119
- name: 🚀 Run Updater
110120
uses: Poeschl/container-package-updater@v4
111121
with:
112-
# Use the UPDATER_TOKEN instead of GITHUB_TOKEN to tirgger PR workflows
113-
token: ${{ secrets.updater_token }}
122+
# Using GITHUB_TOKEN as fallback
123+
token: ${{ secrets.UPDATER_TOKEN }}
114124
containerFile: ${{ needs.information.outputs.addon-folder }}/Dockerfile
115125
osVersion: ${{ needs.information.outputs.os-version }}
116126
architectures: ${{ needs.information.outputs.os-architectures }}

0 commit comments

Comments
 (0)