diff --git a/.github/workflows/links_checker.yml b/.github/workflows/links_checker.yml index a56e979ac39..3d17cbeed50 100644 --- a/.github/workflows/links_checker.yml +++ b/.github/workflows/links_checker.yml @@ -38,24 +38,16 @@ jobs: './**/*.md' - name: Find the last report issue open - uses: micalevisk/last-issue-action@305829d9728f47beb0029417167a0af890edfd6e # pin@v2.1 - id: last_issue + uses: micalevisk/last-issue-action@0d40124cc99ac8601c2516007f0c98ef3d27537b # pin@v2.3 + id: last-issue with: state: open labels: broken-links - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - name: Create or update report uses: peter-evans/create-issue-from-file@e8ef132d6df98ed982188e460ebb3b5d4ef3a9cd # pin@v4 with: title: Link checker report content-filepath: ${{ env.LYCHEE_OUT }} - issue-number: ${{ steps.last_issue.outputs.issue_number }} + issue-number: ${{ steps.last-issue.outputs.issue-number }} labels: broken-links - - - name: Close last report open issue - if: steps.lychee.outputs.exit_code == 0 - uses: peter-evans/close-issue@276d7966e389d888f011539a86c8920025ea0626 # pin@v3 - with: - issue-number: ${{ steps.last_issue.outputs.issue_number }}