# Github env var are empty

**URL:** <https://discuss.bitrise.io/t/github-env-var-are-empty/22622>\
**Category:** Question & Answer\
**Tags:** step\
**Created:** [May 1, 2023, 10:27pm UTC](https://discuss.bitrise.io/t/github-env-var-are-empty/22622 "2023-05-01T22:27:57Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![eppisapiafsl](https://avatars.discourse-cdn.com/v4/letter/e/41988e/32.png) [@eppisapiafsl](https://discuss.bitrise.io/u/eppisapiafsl)\
**Post date:** [May 1, 2023, 10:27pm UTC](https://discuss.bitrise.io/t/github-env-var-are-empty/22622/1 "2023-05-01T22:27:57Z")

</div>

Hi!

I want to use the plugin [bitrise-step-comment-on-github-pull-request/step.yml at master · kvvzr/bitrise-step-comment-on-github-pull-request · GitHub](https://github.com/kvvzr/bitrise-step-comment-on-github-pull-request/blob/master/step.yml) to put a comment in the PR

But all the env related to the PR are empty

echo “$BITRISEIO\_PULL\_REQUEST\_REPOSITORY\_URL”  
echo “$BITRISE\_PULL\_REQUEST”

I tried by setting the trigger\_map

trigger\_map:

- pattern: “\*”  
is\_pull\_request\_allowed: true  
workflow: deploy-dev-android

Are those environment variables available when the build is triggered manually?

---

<div class="post-metadata">

**Author:** ![damien.murphy](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/damien.murphy/32/4535_2.png) [@damien.murphy](https://discuss.bitrise.io/u/damien.murphy)\
**Post date:** [May 1, 2023, 10:49pm UTC](https://discuss.bitrise.io/t/github-env-var-are-empty/22622/2 "2023-05-01T22:49:37Z")

</div>

Those will only be set when the build is triggered by a Pull Request via webhook or via the API with those values set.
