diff --git a/.github/workflows/main.yml b/.github/workflows/check-links.yml similarity index 63% rename from .github/workflows/main.yml rename to .github/workflows/check-links.yml index 62ab330..b1f3e1b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/check-links.yml @@ -1,4 +1,4 @@ -name: CI +name: Check Links on: push: @@ -7,6 +7,8 @@ on: pull_request: branches: - main + schedule: + - cron: '30 3 * * *' jobs: link_checker: @@ -18,11 +20,3 @@ jobs: uses: lycheeverse/lychee-action@v1.2.0 with: fail: true - - awesome_lint: - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - with: - fetch-depth: 0 - - run: npx awesome-lint diff --git a/.github/workflows/linting.yml b/.github/workflows/linting.yml new file mode 100644 index 0000000..4123c93 --- /dev/null +++ b/.github/workflows/linting.yml @@ -0,0 +1,18 @@ +name: Linting + +on: + push: + branches: + - main + pull_request: + branches: + - main + +jobs: + awesome_lint: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + with: + fetch-depth: 0 + - run: npx awesome-lint