# Can't get seacret valiables only when run with PR triggers

**URL:** <https://discuss.bitrise.io/t/cant-get-seacret-valiables-only-when-run-with-pr-triggers/21729>\
**Category:** Question & Answer\
**Tags:** step\
**Created:** [November 22, 2022, 5:14am UTC](https://discuss.bitrise.io/t/cant-get-seacret-valiables-only-when-run-with-pr-triggers/21729 "2022-11-22T05:14:29Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![maiko.morisaki.ub](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/maiko.morisaki.ub/32/4382_2.png) [@maiko.morisaki.ub](https://discuss.bitrise.io/u/maiko.morisaki.ub)\
**Post date:** [November 22, 2022, 5:14am UTC](https://discuss.bitrise.io/t/cant-get-seacret-valiables-only-when-run-with-pr-triggers/21729/1 "2022-11-22T05:14:29Z")

</div>

Use ‘Bitrise Start Build’ to execute multiple workflows from a single trigger.  
If PR is triggered and executed, it will fail because it cannot get the value set in the Bitrise Access Token.

`access_token: <unset>`

 ![スクリーンショット 2022-11-22 14.11.35](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/3/31f2de9f030fb71470572e3f18d1f163495528f1.png)

Succeeds when executed from Slack or manually.

 ![スクリーンショット 2022-11-22 14.12.52](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/0/03f33290ed35eabc82a60f74686f80ae05c1fd6d.png)

Is this a bug? Or is the specification that triggering from PR does not work?

Thanks for your help.

---

<div class="post-metadata">

**Author:** ![pilvikala](https://sea2.discourse-cdn.com/flex016/user_avatar/discuss.bitrise.io/pilvikala/32/4522_2.png) [@pilvikala](https://discuss.bitrise.io/u/pilvikala)\
**Post date:** [November 24, 2022, 1:39pm UTC](https://discuss.bitrise.io/t/cant-get-seacret-valiables-only-when-run-with-pr-triggers/21729/2 "2022-11-24T13:39:03Z")

</div>

Is your secret set to be exposed for pull requests (see the red switch under the value for the secret)?

 ![image](https://us1.discourse-cdn.com/flex016/uploads/bitrise/original/2X/6/69c738154dd2f5fbdbc6c0262ce919af031b67d4.png)
