Closed
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
This week I discovered this great new article about Reminding inactive users to use their GitHub Copilot license
. Thanks a lot for providing this!
While trying to get the example workflow up and running, I noticed a few things that could be improved.
- Missing support for running the workflow manually (i.e. for testing purposes)
- Least privilege for
GITHUB_TOKEN
$ORGANIZATION_VAR
is not defined (gh: Not Found (HTTP 404) -> $ORGANIZATION_VAR
) - to be replaced with${{ github.repository_owner }}
- Workflow fails if a user with a GitHub copilot license has
last_activity_at
set tonull
(date: invalid date ‘null’
) GITHUB_TOKEN: ${{ github.token }}
did not work
I'll create a pull request asap with the fixes and improvements.
Additional information
See https://blog.rufer.be/2025/02/20/howto-identify-and-remind-inactive-github-copilot-users/
Activity