Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
ArthurZucker committed Aug 28, 2024
1 parent dfc37a2 commit 16f9e0f
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions .github/workflows/self-comment-slow-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ jobs:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GITHUB_RUN_URL: https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}
run: |
CHECK_RUN_ID=$(gh api \
gh api \
--method POST \
-H "Accept: application/vnd.github+json" \
-H "X-GitHub-Api-Version: 2022-11-28" \
Expand All @@ -86,15 +86,13 @@ jobs:
-f "output[summary]=The current GitHub Actions run can be viewed here: $GITHUB_RUN_URL" \
-f "output[text]=Detailed output goes here." \
| jq -r '.id')
echo "CHECK_RUN_ID=$CHECK_RUN_ID" >> $GITHUB_ENV
- name: Trigger specific job
run: |
echo "Running the specific job because /pytest was found"
# Add the logic to trigger your specific job here
- name: Update Check Run Status
if: always()
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
CHECK_RUN_ID: ${{ env.CHECK_RUN_ID }}
Expand Down

0 comments on commit 16f9e0f

Please sign in to comment.