You will have to open your repo in GitHub first then go to the settings, there you will find secrets. Create a new secret and name the variable like I have named HEROKU_API_KEY and put the value there. The best things about this is only the collaborator can see the value of the secret variables.
For further actions, you may consider blocking this person and/or reporting abuse
We're a place where coders share, stay up-to-date and grow their careers.
Where is 'secrets.HEROKU_API_KEY' defined?
You will have to open your repo in GitHub first then go to the settings, there you will find secrets. Create a new secret and name the variable like I have named HEROKU_API_KEY and put the value there. The best things about this is only the collaborator can see the value of the secret variables.