-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'develop' into tooling-dashboard/add-assets-layout
- Loading branch information
Showing
250 changed files
with
5,064 additions
and
4,873 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -42,7 +42,6 @@ jobs: | |
|
||
deny: | ||
uses: ./.github/workflows/_cargo_deny.yml | ||
secrets: inherit | ||
|
||
rust-tests: | ||
if: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,7 +9,7 @@ on: | |
- cron: "0 0 * * *" | ||
|
||
jobs: | ||
link_checker: | ||
links-checker: | ||
name: Check links and create automated issue if needed | ||
runs-on: self-hosted | ||
env: | ||
|
@@ -20,8 +20,9 @@ jobs: | |
|
||
- name: Check all links at *.md and doc files | ||
id: lychee | ||
uses: lycheeverse/lychee-action@ec3ed119d4f44ad2673a7232460dc7dff59d2421 # pin@v1.8.0 | ||
uses: lycheeverse/lychee-action@2b973e86fc7b1f6b36a93795fe2c9c6ae1118621 # pin@v1.10.0 | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
output: ${{ env.LYCHEE_OUT }} | ||
format: markdown | ||
## Do not fail this step on broken links | ||
|
@@ -35,42 +36,23 @@ jobs: | |
--max-concurrency 10 | ||
--no-progress | ||
'./**/*.md' | ||
env: | ||
## Avoid rate limiting when checking github.com links | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- name: Find the last report issue open | ||
uses: micalevisk/last-issue-action@305829d9728f47beb0029417167a0af890edfd6e # [email protected] | ||
id: last_issue | ||
with: | ||
state: open | ||
labels: | | ||
report | ||
automated issue | ||
labels: broken-links | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
|
||
- name: Create issue from report file | ||
if: steps.last_issue.outputs.has_found == 'false' | ||
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 }} | ||
labels: | | ||
report | ||
automated issue | ||
- name: Update last report open issue created | ||
if: steps.last_issue.outputs.has_found == 'true' | ||
- 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 }} | ||
labels: | | ||
report | ||
automated issue | ||
labels: broken-links | ||
|
||
- name: Close last report open issue | ||
if: steps.lychee.outputs.exit_code == 0 | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.