]> git.ipfire.org Git - thirdparty/google/fonts.git/commitdiff
ci: Move pushlists into its own workflow 9538/head
authorMarc Foley <m.foley.88@gmail.com>
Fri, 6 Jun 2025 09:25:18 +0000 (10:25 +0100)
committerMarc Foley <m.foley.88@gmail.com>
Fri, 6 Jun 2025 09:25:18 +0000 (10:25 +0100)
.github/workflows/ci.yaml
.github/workflows/pushlists.yaml [new file with mode: 0644]

index b33b0121eab6ad936468838d6092a39167b5e6ae..15aad75a27cfa4de364722a250c3c2feabe4f2f8 100644 (file)
@@ -18,23 +18,6 @@ on:
     - ".github/workflows/ci.yaml"
 
 jobs:
-  test_server_files:
-    runs-on: ubuntu-latest
-    steps:
-    - uses: actions/checkout@v3
-    - name: Set up Python
-      uses: actions/setup-python@v4
-      with:
-        python-version: "3.10"
-    - name: Install Cairo (Ubuntu)
-      run: sudo apt-get install libcairo2-dev
-    # Check to_sandbox.txt and to_production.txt do not contain typos
-    - name: Install gftools
-      run: pip install gftools[qa]
-    - name: Lint server files
-      run: |
-        gftools push-status . --lint
-
   check_knowledge_graph:
     runs-on: ubuntu-latest
     steps:
diff --git a/.github/workflows/pushlists.yaml b/.github/workflows/pushlists.yaml
new file mode 100644 (file)
index 0000000..4d4a908
--- /dev/null
@@ -0,0 +1,25 @@
+name: Check server files
+on:
+  push:
+    paths:
+    - 'tags/all/families.csv'
+  pull_request:
+    paths:
+    - 'to_sandbox.txt'
+    - 'to_production.txt'
+    - '.github/workflows/pushlists.yaml"'
+
+jobs:
+  test_server_files:
+    runs-on: ubuntu-latest
+    steps:
+    - uses: actions/checkout@v3
+    - name: Set up Python
+      uses: actions/setup-python@v4
+      with:
+        python-version: "3.10"
+    - name: Install gftools
+      run: pip install gftools
+    - name: Lint server files
+      run: |
+        gftools push-status . --lint
\ No newline at end of file