From 4dabcac7c4ea943f798bdf68c0c861e5a312ebf1 Mon Sep 17 00:00:00 2001 From: Saksham Sharma Date: Wed, 14 Aug 2024 16:28:33 +0530 Subject: [PATCH] test: ci test --- .github/workflows/pr-title-spell-check.yml | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/.github/workflows/pr-title-spell-check.yml b/.github/workflows/pr-title-spell-check.yml index d2a93d5e1..b547e9c6d 100644 --- a/.github/workflows/pr-title-spell-check.yml +++ b/.github/workflows/pr-title-spell-check.yml @@ -28,12 +28,8 @@ jobs: files: ./pr_title.txt - name: Check assignee - run: | - PR_NUMBER=$(jq --raw-output .pull_request.number "$GITHUB_EVENT_PATH") - - response=$(curl -H "Authorization: Bearer ${{ secrets.GITHUB_TOKEN }}" \ - -H "Accept: application/vnd.github+json" \ - https://api.github.com/repos/${GITHUB_REPOSITORY}/pulls/${PR_NUMBER}) - - echo "$response" + - uses: actions/checkout@v1 + - uses: ./ + with: + require_assignee: true