From 4e558a45da4af6574416724acd2fa7701247aec8 Mon Sep 17 00:00:00 2001 From: jaredliw Date: Sat, 24 Jul 2021 10:19:12 +0800 Subject: [PATCH] =?UTF-8?q?=E6=A3=80=E6=9F=A5=E9=93=BE=E6=8E=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .github/workflows/check_dead_links.yml | 19 +++++++++++++++++++ .../{main.yml => restructure_files.yml} | 4 ++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/check_dead_links.yml rename .github/workflows/{main.yml => restructure_files.yml} (93%) diff --git a/.github/workflows/check_dead_links.yml b/.github/workflows/check_dead_links.yml new file mode 100644 index 0000000..1d1caea --- /dev/null +++ b/.github/workflows/check_dead_links.yml @@ -0,0 +1,19 @@ +name: Check Markdown links + +on: + push: + branches: [ main ] + pull_request: + branches: [ main ] + workflow_dispatch: + +jobs: + test-and-build: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + persist-credentials: false + fetch-depth: 0 + + - uses: gaurav-nelson/github-action-markdown-link-check@v1 \ No newline at end of file diff --git a/.github/workflows/main.yml b/.github/workflows/restructure_files.yml similarity index 93% rename from .github/workflows/main.yml rename to .github/workflows/restructure_files.yml index 09531e7..ac668a1 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/restructure_files.yml @@ -1,4 +1,4 @@ -name: Format files +name: Restructure files on: push: @@ -19,7 +19,7 @@ jobs: - name: Install Prettier run: npm install --save-dev --save-exact prettier - - name: Format files + - name: Restructure files run: node_modules/.bin/prettier --write README.md animation-simulation/ - name: Commit files