Getting error when trying send variable
baimurzin opened this issue · 1 comments
baimurzin commented
Trying to send ${{commit.ref }} but getting an error, no such variable.
Unrecognized named-value: 'commit'
Is it possible to send commit message via telegram?
appleboy commented
- name: send message useing with
uses: appleboy/telegram-action@master
with:
to: ${{ secrets.TELEGRAM_TO }}
token: ${{ secrets.TELEGRAM_TOKEN }}
message: |
The ${{ github.event_name }} event triggered second step.
show the github varable ref: ${{ github.ref }}
show the github varable commit: ${{ github.sha }}
show the github varable ref: {{ commit.ref }}
show the github varable commit: {{ commit.sha }}
telegram-action/.github/workflows/ci.yml
Lines 17 to 27 in abd0142