File: update_celllists.yml

package info (click to toggle)
python-dwdwfsapi 1.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 776 kB
  • sloc: python: 739; makefile: 3
file content (39 lines) | stat: -rw-r--r-- 967 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
name: Update cell lists

on:
  workflow_dispatch:
  schedule:
    - cron: '0 4 1,15 * *'

jobs:
  update_warncells:
    runs-on: ubuntu-latest
    steps:
      - name: Checkout Repo
        uses: "actions/checkout@v4"

      - name: Setup Python
        uses: actions/setup-python@v5
        with:
          python-version: '3.12'

      - name: Install Python Packages
        run: |
          python -m pip install --upgrade pip
          pip install .

      - name: Execute Python Scripts
        run: |
          python update_biocell_list.py
          python update_pollencell_list.py
          python update_warncell_list.py
        working-directory: ./docs

      - name: Create Pull Request
        uses: peter-evans/create-pull-request@v6
        with:
          commit-message: Update cell lists
          title: Update cell lists
          body: Update cell lists to reflect changes by DWD
          branch: update-celllists
          delete-branch: true