Skip to content

remove pull_request_target #5

remove pull_request_target

remove pull_request_target #5

name: Test for Secrets Access

Check failure on line 1 in .github/workflows/test-for-secrets.yaml

View workflow run for this annotation

GitHub Actions / .github/workflows/test-for-secrets.yaml

Invalid workflow file

Invalid `steps` value - steps should be list of `uses` or `run` items
description: Test for secrets access. NEVER run this with a secret other than the "TEST_REPOSITORY_SECRET"
on:
workflow_dispatch:
env:
TEST_SECRET: ${{ secrets.TEST_REPOSITORY_SECRET }}
defaults:
run:
shell: bash
permissions:
contents: read
actions: read
jobs:
test-for-secret-access:
runs-on: ubuntu-latest
steps:
name: Test for Secret Access
run: |
echo "Secret is: ${TEST_SECRET}"