Closed IgnusG closed 4 years ago
Describe the bug The GITHUB_TOKEN is not recognized as input.
To Reproduce Steps to reproduce the behavior:
- uses: squalrus/merge-bot@v0.4.1 with: GITHUB_TOKEN: ${{ secrets.REPO_ACCESS_TOKEN }} method: merge labels: version-ready
Expected behavior Uses GITHUB_TOKEN as auth.
Screenshots
The input is being read here: https://github.com/squalrus/merge-bot/blob/1083cc7ea933ace2ec2baa32deccb3461da88f8f/index.js#L19
But needs to be specified in action.yml for github to recognize it here: https://github.com/squalrus/merge-bot/blob/1083cc7ea933ace2ec2baa32deccb3461da88f8f/action.yml#L7-L30
action.yml
Thank you for adding! 🙌
Describe the bug The GITHUB_TOKEN is not recognized as input.
To Reproduce Steps to reproduce the behavior:
Expected behavior Uses GITHUB_TOKEN as auth.
Screenshots
The input is being read here: https://github.com/squalrus/merge-bot/blob/1083cc7ea933ace2ec2baa32deccb3461da88f8f/index.js#L19
But needs to be specified in
action.yml
for github to recognize it here: https://github.com/squalrus/merge-bot/blob/1083cc7ea933ace2ec2baa32deccb3461da88f8f/action.yml#L7-L30