Skip to content

Commit

Permalink
Hotfix issue labeling workflow (infra) (#1623)
Browse files Browse the repository at this point in the history
Remove arbitrary code execution
  • Loading branch information
Hook25 authored Nov 26, 2024
1 parent 41c9278 commit f3f3043
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/label-cert-blocker-issue.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,10 @@ jobs:
steps:
- name: Check if an issue has a ticked cert-blocker test case mark
id: check_for_cert_blocker_test_case
env:
ISSUE_BODY: ${{ github.event.issue.body }}
run: |
if echo "${{ github.event.issue.body }}" | grep -q "\[X\] cert-blocker"; then
if echo "$ISSUE_BODY" | grep -q "\[X\] cert-blocker"; then
echo "found=true" >> $GITHUB_ENV
else
echo "found=false" >> $GITHUB_ENV
Expand All @@ -28,4 +30,3 @@ jobs:
GH_REPO: ${{ github.repository }}
NUMBER: ${{ github.event.issue.number }}
LABELS: cert-blocker test case

0 comments on commit f3f3043

Please sign in to comment.