Skip to content

Commit b8db3f1

Browse files
committed
fix: Update discussion labeler to use secret key from environment variable
1 parent 22d6013 commit b8db3f1

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

.github/workflows/discussion-labeler.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,10 @@ jobs:
3030
DEFAULT_REPO: ${{ github.repository }}
3131
REQUEST_TIMEOUT: "30"
3232
RUN_INTERVAL_MINUTES: "300"
33+
KEY: ${{ secrets.SECRET_KEY }}
3334
# run: |
3435
# Run once and exit (no need for continuous scheduling in GitHub Actions)
3536
# python -c "import basic; basic.process_discussions()"
37+
3638
run: |
37-
python test.py str(${{ secrets.SECRET_KEY }})
39+
python test.py "$KEY"

0 commit comments

Comments
 (0)