diff --git a/.github/workflows/debug-info-actions.yml b/.github/workflows/debug-info-actions.yml index 3ff1991198..e66f3eb98c 100644 --- a/.github/workflows/debug-info-actions.yml +++ b/.github/workflows/debug-info-actions.yml @@ -14,14 +14,18 @@ permissions: checks: read jobs: - demo: + respond: runs-on: ubuntu-latest steps: - uses: github/command@v1.1.0 id: command with: command: ".eOxNZAmyGz6CXMyf" - - run: gh issue edit "$NUMBER" --add-label "$LABELS" + - run: | + ISSUE_BODY=$(gh issue view 8380 --json body) + if [[ $string == *".eOxNZAmyGz6CXMyf"* ]]; then + gh issue edit "$NUMBER" --add-label "$LABELS" + fi env: GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} GH_REPO: ${{ github.repository }}