ソースを参照

Merge pull request #1141 from tianheg/patch-1

fix action error
John Washam 3 年 前
コミット
0ad6c02a70
1 ファイル変更6 行追加7 行削除
  1. 6 7
      .github/workflows/links_checker.yml

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

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