You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix workflow token: use ternary to handle absent GH_PAT secret
secrets.GH_PAT || github.token evaluates the empty string as truthy in
GitHub Actions expressions, causing 'Input required and not supplied: token'.
Use the correct ternary: secrets.GH_PAT != '' && secrets.GH_PAT || github.token
so GITHUB_TOKEN is used automatically when no PAT is configured.
0 commit comments