From 21ff0f49ff0723bec84f3f29142af8c4986a1543 Mon Sep 17 00:00:00 2001 From: Gui Iribarren Date: Fri, 30 Aug 2024 13:44:57 +0200 Subject: [PATCH] mark outdated --- .github/workflows/swagger.yml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.github/workflows/swagger.yml b/.github/workflows/swagger.yml index 1692ffec4..8d8cbf849 100644 --- a/.github/workflows/swagger.yml +++ b/.github/workflows/swagger.yml @@ -54,6 +54,14 @@ jobs: with: run: git -C developer-portal diff --no-color swaggers/vocdoni-api.yaml + - name: Mark previous comment as outdated + if: ${{ github.event_name == 'pull_request' }} + uses: marocchino/sticky-pull-request-comment@v2 + with: + header: diff + hide: true + hide_classify: "OUTDATED" + - name: Post comment with diff in original PR if: ${{ github.event_name == 'pull_request' && steps.diff.outputs.stdout }} uses: marocchino/sticky-pull-request-comment@v2