We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2a79954 commit f09f971Copy full SHA for f09f971
.github/workflows/request-ci.yml
@@ -0,0 +1,21 @@
1
+name: "Request CI (no secrets)"
2
+on:
3
+ pull_request:
4
+ types: [opened, synchronize, reopened]
5
+
6
+jobs:
7
+ smoke-test:
8
+ runs-on: ubuntu-latest
9
+ steps:
10
+ - uses: actions/checkout@v3
11
+ - name: Show runner and PR info
12
+ run: |
13
+ echo "Event: ${{ github.event_name }}#${{ github.event.action }}"
14
+ echo "Head repo: ${{ github.event.pull_request.head.repo.full_name }}"
15
+ - name: Try to read SECRET (`MY_SECRET`)
16
17
+ if [ -z "${{ secrets.MY_SECRET }}" ]; then
18
+ echo "⚠️ MY_SECRET is empty (as expected for pull_request)"
19
+ else
20
+ echo "❌ MY_SECRET is: ${{ secrets.MY_SECRET }}"
21
+ fi
0 commit comments