From 293763c758cdf42ec80607fecbdf7377cf9e96f9 Mon Sep 17 00:00:00 2001 From: MoritzWeber Date: Sun, 21 Jun 2026 12:56:03 +0200 Subject: [PATCH] ci: Create comment instead of issue for broken links --- .github/workflows/check-broken-links.md | 8 -------- .github/workflows/linkcheck.yaml | 11 ++++++----- 2 files changed, 6 insertions(+), 13 deletions(-) diff --git a/.github/workflows/check-broken-links.md b/.github/workflows/check-broken-links.md index 9f1c03f3f..51124424e 100644 --- a/.github/workflows/check-broken-links.md +++ b/.github/workflows/check-broken-links.md @@ -1,11 +1,3 @@ ---- -title: Website Contains Broken Links -labels: - - content -assignees: - - lenderom ---- - ## Broken Links Detected Broken Link Checker found broken links on https://fipguide.org diff --git a/.github/workflows/linkcheck.yaml b/.github/workflows/linkcheck.yaml index 4d4563e76..70789e026 100644 --- a/.github/workflows/linkcheck.yaml +++ b/.github/workflows/linkcheck.yaml @@ -53,9 +53,10 @@ jobs: --exclude "www.trenitalia.fr" - uses: actions/checkout@v3 if: failure() - - uses: JasonEtco/create-an-issue@v2 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - with: - filename: ${{ env.ISSUE_TEMPLATE }} + - name: Reopen issue and add comment if: failure() + env: + GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} + run: | + gh issue reopen 1001 || true + gh issue comment 1001 --body-file $ISSUE_TEMPLATE