Skip to content

Commit dec71de

Browse files
authored
ci: remove annotations test (#45)
We don't post annotations anymore.
1 parent b2d7b81 commit dec71de

File tree

1 file changed

+0
-23
lines changed

1 file changed

+0
-23
lines changed

.github/workflows/ci.yaml

Lines changed: 0 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -92,26 +92,3 @@ jobs:
9292
if: always()
9393
run: |
9494
docker compose logs
95-
96-
test-annotations:
97-
needs: test
98-
timeout-minutes: 5
99-
runs-on: ubuntu-latest
100-
steps:
101-
- name: Check annotation
102-
uses: actions/github-script@v7
103-
with:
104-
script: |
105-
const annotations = await github.rest.checks.listAnnotations({
106-
owner: context.repo.owner,
107-
repo: context.repo.repo,
108-
check_run_id: ${{ needs.test.outputs.job_id }},
109-
});
110-
for (const annotation of annotations.data) {
111-
if (annotation.message.startsWith("MERGIFY_TEST_RUN_ID=")) {
112-
core.info(`Annotations found: ${annotation.message}`)
113-
return
114-
}
115-
}
116-
console.log(annotations)
117-
throw new Error("Annotations not found")

0 commit comments

Comments
 (0)