GITHUB_REF or github.ref are not injected

it suddenly those variables did not display what they were supposed to.
anyone sees same?

action

Hi @legshort,

Please use below format instead.

      - run: |
          echo $GITHUB_REF
          echo ${{ github.ref }}

refcheck
My workflow here: https://github.com/weide-zhou/ticket13/runs/730399730?check_suite_focus=true

Thanks.

thanks for your answer with a great example!!, I think I have this problem cuz 3rd party app called SlashDeploy which calls deployment API automatically from Slack.

I checked a whole github context and surprisingly ref is empty so I guess the sender misses out or something out of sudden.