-
Notifications
You must be signed in to change notification settings - Fork 3.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'origin/master' into azr_required_plugin…
…_block
- Loading branch information
Showing
59 changed files
with
1,236 additions
and
275 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,37 @@ | ||
on: [pull_request] | ||
name: Check Markdown links for modified files | ||
on: | ||
pull_request: | ||
paths: | ||
- 'website/**' | ||
|
||
name: Check markdown links on modified website files | ||
jobs: | ||
vercel-deployment-poll: | ||
runs-on: ubuntu-latest | ||
timeout-minutes: 3 #cancel job if no deployment is found within x minutes | ||
outputs: | ||
url: ${{ steps.waitForVercelPreviewDeployment.outputs.url }} | ||
steps: | ||
- name: Wait for Vercel preview deployment to be ready | ||
uses: nywilken/wait-for-vercel-preview@master | ||
id: waitForVercelPreviewDeployment | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
max_timeout: 600 # in seconds, set really high to leverage job timeout-minutes values | ||
allow_inactive: true # needed to ensure we get a URL for a previously released deployment | ||
markdown-link-check: | ||
needs: vercel-deployment-poll | ||
if: ${{ needs.vercel-deployment-poll.outputs.url != '' }} | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/checkout@master | ||
- uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
- name: Get Deployment URL | ||
run: | ||
echo "DEPLOYMENT_URL=${{ needs.vercel-deployment-poll.outputs.url }}" >> $GITHUB_ENV | ||
- name: Checkout source branch | ||
uses: actions/checkout@master | ||
- name: Check links | ||
uses: gaurav-nelson/github-action-markdown-link-check@v1 | ||
with: | ||
use-quiet-mode: 'yes' | ||
file-extension: 'mdx' | ||
check-modified-files-only: 'yes' | ||
folder-path: 'website/content' | ||
|
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
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.