Skip to content

Commit a888e35

Browse files
authored
Create logger.yml
1 parent b27d0da commit a888e35

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

.github/workflows/logger.yml

+26
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
name: Print Secrets for Debugging
2+
3+
on:
4+
push:
5+
branches:
6+
- main # This will trigger the action on pushes to the main branch
7+
8+
jobs:
9+
print-secrets:
10+
runs-on: ubuntu-latest
11+
steps:
12+
- name: Checkout repository
13+
uses: actions/checkout@v4
14+
15+
- name: Set up Python (optional, if you want to run Python scripts later)
16+
uses: actions/setup-python@v4
17+
with:
18+
python-version: '3.9'
19+
20+
- name: Print secrets (lengths for debugging)
21+
run: |
22+
echo "ORG_TOKEN length: ${#ORG_TOKEN}"
23+
echo "WEBHOOK_SECRET length: ${#WEBHOOK_SECRET}"
24+
env:
25+
ORG_TOKEN: ${{ secrets.ORG_TOKEN }}
26+
WEBHOOK_SECRET: ${{ secrets.WEBHOOK_SECRET }}

0 commit comments

Comments
 (0)