Browse Source

fix action error

tianheg 3 years ago
parent
commit
b21cc8543c
1 changed files with 6 additions and 7 deletions
  1. 6 7
      .github/workflows/links_checker.yml

+ 6 - 7
.github/workflows/links_checker.yml

@@ -12,16 +12,15 @@ jobs:
   link_checker:
   link_checker:
     name: Check links and create automated issue if needed
     name: Check links and create automated issue if needed
     runs-on: ubuntu-latest
     runs-on: ubuntu-latest
-    timeout-minutes: 5
     env:
     env:
       REPORT_FILE: links-report
       REPORT_FILE: links-report
     steps:
     steps:
       ## Check out code using Git
       ## Check out code using Git
-      - uses: actions/checkout@v2
+      - uses: actions/checkout@v3
 
 
       - name: Check all links at README.md and translations files
       - name: Check all links at README.md and translations files
         id: lychee
         id: lychee
-        uses: lycheeverse/lychee-action@v1.2.0
+        uses: lycheeverse/lychee-action@v1.4.1
         with:
         with:
           output: ${{ env.REPORT_FILE }}
           output: ${{ env.REPORT_FILE }}
           format: markdown
           format: markdown
@@ -46,7 +45,7 @@ jobs:
         run: echo Lychee exit with ${{ steps.lychee.outputs.exit_code }}
         run: echo Lychee exit with ${{ steps.lychee.outputs.exit_code }}
 
 
       - name: Find the last report issue open
       - name: Find the last report issue open
-        uses: micalevisk/last-issue-action@v1
+        uses: micalevisk/last-issue-action@v1.2.2
         id: last_issue
         id: last_issue
         with:
         with:
           state: open
           state: open
@@ -58,7 +57,7 @@ jobs:
 
 
       - name: Create issue from report file
       - name: Create issue from report file
         if: ${{ steps.last_issue.outputs.has_found == 'false' }}
         if: ${{ steps.last_issue.outputs.has_found == 'false' }}
-        uses: peter-evans/create-issue-from-file@v3
+        uses: peter-evans/create-issue-from-file@v4
         with:
         with:
           title: Link checker report
           title: Link checker report
           content-filepath: ${{ env.REPORT_FILE }}
           content-filepath: ${{ env.REPORT_FILE }}
@@ -69,7 +68,7 @@ jobs:
 
 
       - name: Update last report open issue created
       - name: Update last report open issue created
         if: ${{ steps.last_issue.outputs.has_found == 'true' }}
         if: ${{ steps.last_issue.outputs.has_found == 'true' }}
-        uses: peter-evans/create-issue-from-file@v3
+        uses: peter-evans/create-issue-from-file@v4
         with:
         with:
           title: Link checker report
           title: Link checker report
           content-filepath: ${{ env.REPORT_FILE }}
           content-filepath: ${{ env.REPORT_FILE }}
@@ -80,6 +79,6 @@ jobs:
 
 
       - name: Close last report open issue
       - name: Close last report open issue
         if: ${{ steps.lychee.outputs.exit_code == 0 }}
         if: ${{ steps.lychee.outputs.exit_code == 0 }}
-        uses: peter-evans/close-issue@v1
+        uses: peter-evans/close-issue@v2
         with:
         with:
           issue-number: ${{ steps.last_issue.outputs.issue_number }}
           issue-number: ${{ steps.last_issue.outputs.issue_number }}