Skip to content

Commit

Permalink
fix: use GITHUB_TOKEN out-of-the-box
Browse files Browse the repository at this point in the history
Previously, the user had to export the GITHUB_TOKEN to start using the
extension.

This is now working out-of-the-box.
  • Loading branch information
awendt committed Nov 9, 2024
1 parent 1b39721 commit 503d30e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions gh-cleanup-notifications
Original file line number Diff line number Diff line change
Expand Up @@ -7,4 +7,6 @@ if ! type -p node >/dev/null; then
exit 1
fi

export GITHUB_TOKEN=$(gh auth token)

exec node index.js "$@"

0 comments on commit 503d30e

Please sign in to comment.