From ed3929d5dca363d0b2dec174a8b6b395d4cf8908 Mon Sep 17 00:00:00 2001 From: Marc Foley Date: Fri, 6 Jun 2025 10:25:18 +0100 Subject: [PATCH] ci: Move pushlists into its own workflow --- .github/workflows/ci.yaml | 17 ----------------- .github/workflows/pushlists.yaml | 25 +++++++++++++++++++++++++ 2 files changed, 25 insertions(+), 17 deletions(-) create mode 100644 .github/workflows/pushlists.yaml diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index b33b0121ea..15aad75a27 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -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 index 0000000000..4d4a9089a0 --- /dev/null +++ b/.github/workflows/pushlists.yaml @@ -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 -- 2.47.2