File tree Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Expand file tree Collapse file tree 1 file changed +12
-2
lines changed Original file line number Diff line number Diff line change @@ -106,11 +106,21 @@ jobs:
106
106
git config user.name 'Poeschl Home Assistant Addon-Botter'
107
107
git config user.email '[email protected] '
108
108
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
+
109
119
- name : 🚀 Run Updater
110
120
uses : Poeschl/container-package-updater@v4
111
121
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 }}
114
124
containerFile : ${{ needs.information.outputs.addon-folder }}/Dockerfile
115
125
osVersion : ${{ needs.information.outputs.os-version }}
116
126
architectures : ${{ needs.information.outputs.os-architectures }}
You can’t perform that action at this time.
0 commit comments