Explorar o código

Update and rename awesome_bot.yml to awesome_lint.yml

Luke Sinclair %!s(int64=4) %!d(string=hai) anos
pai
achega
fde2190fba
Modificáronse 2 ficheiros con 12 adicións e 24 borrados
  1. 0 24
      .github/workflows/awesome_bot.yml
  2. 12 0
      .github/workflows/awesome_lint.yml

+ 0 - 24
.github/workflows/awesome_bot.yml

@@ -1,24 +0,0 @@
-name: Awesome Bot
-on:
-  push:
-    branches:
-      - master
-
-jobs:
-  build:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v1
-    - name: Set up Ruby
-      uses: actions/setup-ruby@v1
-      with:
-        ruby-version: 2.7.x
-    - name: Install Awesome Bot
-      run: gem install awesome_bot
-    - name: Run Awesome Bot
-      run: awesome_bot README.md --request-delay 1 --allow-dupe --white-list igor.io,symfony,toranproxy.com,vagrantup.com,3v4l.org,voicesoftheelephpant.com,drupal.org,oreilly.com
-    - uses: actions/upload-artifact@v1
-      if: failure()
-      with:
-        name: ab-results
-        path: ab-results-README.md-filtered.json

+ 12 - 0
.github/workflows/awesome_lint.yml

@@ -0,0 +1,12 @@
+name: CI
+on:
+  pull_request:
+    branches: [main]
+jobs:
+  Awesome_Lint:
+    runs-on: ubuntu-latest
+    steps:
+      - uses: actions/checkout@v2
+        with:
+          fetch-depth: 0
+      - run: npx awesome-lint