From a4d81813e014de8cc442029ce80f73dbaae81d2a Mon Sep 17 00:00:00 2001 From: Dmitry Shevtsov <12731225+dshevtsov@users.noreply.github.com> Date: Thu, 17 Dec 2020 12:31:25 -0600 Subject: [PATCH 1/2] Delete main.yml Removing the Markdown lint test as a duplicate of the Lint Code Base test --- .github/workflows/main.yml | 22 ---------------------- 1 file changed, 22 deletions(-) delete mode 100644 .github/workflows/main.yml diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml deleted file mode 100644 index 04526efa2e6..00000000000 --- a/.github/workflows/main.yml +++ /dev/null @@ -1,22 +0,0 @@ -name: Markdown linting test - -on: - pull_request: - branches: - - master - - 2.*-develop - -jobs: - test: - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v2 - - name: Set up Ruby - uses: actions/setup-ruby@v1 - with: - ruby-version: 2.6 - - name: Install mdl gem - run: gem install mdl - - name: Run mdl - run: mdl --style=_checks/styles/style-rules-prod --ignore-front-matter --git-recurse -- . From 4931831ad1c148ba1f29910d935f0742277d8a36 Mon Sep 17 00:00:00 2001 From: Dmitry Shevtsov <12731225+dshevtsov@users.noreply.github.com> Date: Thu, 17 Dec 2020 12:43:36 -0600 Subject: [PATCH 2/2] Update linter.yml Run linters on any pull request, not only to master or develop --- .github/workflows/linter.yml | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/.github/workflows/linter.yml b/.github/workflows/linter.yml index 53486d426bd..97a7ea9bb0a 100644 --- a/.github/workflows/linter.yml +++ b/.github/workflows/linter.yml @@ -11,14 +11,11 @@ name: Lint Code Base # https://help.github.com/en/articles/workflow-syntax-for-github-actions # -############################# -# Start the job on all push # -############################# +################################### +# Start the job on a pull request # +################################### on: - pull_request: - branches: - - master - - 2.*-develop + pull_request ############### # Set the Job #