diff --git a/gh-cleanup-notifications b/gh-cleanup-notifications index b9a59fc..f09c96a 100755 --- a/gh-cleanup-notifications +++ b/gh-cleanup-notifications @@ -7,4 +7,6 @@ if ! type -p node >/dev/null; then exit 1 fi +export GITHUB_TOKEN=$(gh auth token) + exec node index.js "$@"