Display GitHub secrets for debug

Here is a simple method to display GitHub secrets for debugging purposes.

Using this command line:

1run: echo ${{ secrets.MYSECRET}} | sed 's/./& /g'

Here is an example workflow below:

 1name: Print GitHub Secrets
 2
 3on:
 4  push:
 5
 6jobs:
 7  print_secrets:
 8    runs-on: ubuntu-latest
 9    steps:
10      - name: Debug secret in variable
11        run: echo ${{ secrets.MYSECRET}} | sed 's/./& /g'
Danger

This method is intended solely for debugging purposes. Avoid using it in production environments and never expose secrets in your pipelines!