This message was deleted.
# help
b
This message was deleted.
l
@rhythmic-ambulance-95028 it’s not something I’ve tried, but reading the docs about it I think it should work as long as the repository access token has write access to the pull request.
Have just tested it out and it works fine if you just pass something like this to the
infracost comment
command:
--bitbucket-token=$BITBUCKET_REPO_TOKEN
r
Will give that a try, thx!
So I just need to define BITBUCKET_REPO_TOKEN using the secret generated for the repository access token in the Bitbucket repository itself?
l
Yes. And the secret needs to have the Pull Request Write permission enabled.
r
This works for me as well, thanks for the quick reply!
l
Thanks @rhythmic-ambulance-95028, we’ve updated our docs to have this now as well simple smile https://bitbucket.org/infracost/infracost-bitbucket-pipeline/pull-requests/18
🚀 2