You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
run-name: ${{ github.actor }} is learning GitHub Actions
on: [pull_request]
jobs:
default-env-variables:
runs-on: ubuntu-latest
steps:
- name: Test secret
env :
title: ${{ github.event.pull_request.title }}
run: |
echo ${{secrets.MYFIRSTSECRET}} #Get the secret and try to show it but you can't because it is encrypted
if [ $title == ${{secrets.MYFIRSTSECRET}} ]; then #compare the secret to the pull request title. It is not supposed to be used like that but just to show what you can do.