Skip to content

Commit 0c2fabc

Browse files
authored
Merge pull request #25 from arilivigni/fix-test-run-issues
fix: remove redundant check step from copilot GitHub workflow
2 parents 3a8b506 + 41ec78a commit 0c2fabc

1 file changed

Lines changed: 0 additions & 46 deletions

File tree

.github/workflows/6-copilot-on-github.yml

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -22,52 +22,6 @@ jobs:
2222
name: Find Exercise Issue
2323
uses: skills/exercise-toolkit/.github/workflows/find-exercise-issue.yml@v0.7.0
2424

25-
check_step_work:
26-
name: Check step work
27-
runs-on: ubuntu-latest
28-
needs: [find_exercise]
29-
env:
30-
ISSUE_REPOSITORY: ${{ github.repository }}
31-
ISSUE_NUMBER: ${{ needs.find_exercise.outputs.issue-number }}
32-
33-
steps:
34-
- name: Checkout
35-
uses: actions/checkout@v4
36-
37-
- name: Get response templates
38-
uses: actions/checkout@v4
39-
with:
40-
repository: skills/exercise-toolkit
41-
path: exercise-toolkit
42-
ref: v0.7.0
43-
44-
- name: Find last comment
45-
id: find-last-comment
46-
uses: peter-evans/find-comment@v3
47-
with:
48-
repository: ${{ env.ISSUE_REPOSITORY }}
49-
issue-number: ${{ env.ISSUE_NUMBER }}
50-
direction: last
51-
52-
- name: Update comment - checking work
53-
uses: GrantBirki/comment@v2.1.1
54-
with:
55-
repository: ${{ env.ISSUE_REPOSITORY }}
56-
issue-number: ${{ env.ISSUE_NUMBER }}
57-
comment-id: ${{ steps.find-last-comment.outputs.comment-id }}
58-
file: exercise-toolkit/markdown-templates/step-feedback/checking-work.md
59-
edit-mode: replace
60-
61-
# START: Check practical exercise
62-
63-
# Nothing to check. Merging the pull request is enough.
64-
65-
# END: Check practical exercise
66-
67-
- name: Fail job if not all checks passed
68-
if: contains(steps.*.outcome, 'failure')
69-
run: exit 1
70-
7125
post_review_content:
7226
name: Post review content
7327
needs: [find_exercise]

0 commit comments

Comments
 (0)