Skip to content

example - secrets

example - secrets #5

Workflow file for this run

name: PR validation
on:
push:
branches: [ main ]
pull_request:
branches: [ main ]
jobs:
example-job:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v3
- name: Use secret in a script
run: |
echo "Using secret in a script"
curl ${{ secrets.MY_SECRET }}