File tree Expand file tree Collapse file tree 1 file changed +45
-0
lines changed
Expand file tree Collapse file tree 1 file changed +45
-0
lines changed Original file line number Diff line number Diff line change 1+ name : Merge lint & fix
2+
3+ on :
4+ push :
5+ branches : [ main ]
6+
7+ jobs :
8+ build :
9+ runs-on : ubuntu-latest
10+ strategy :
11+ matrix :
12+ python-version : [3.11]
13+ steps :
14+ - uses : actions/checkout@v4
15+ with :
16+ fetch-depth : 0
17+ - name : Set up Python ${{ matrix.python-version }}
18+ uses : actions/setup-python@v5
19+ with :
20+ python-version : ${{ matrix.python-version }}
21+ - name : Cache downloads
22+ uses : actions/cache@v4
23+ with :
24+ path : ~/.cache/pip
25+ key : cache-${{ matrix.python-version }}
26+ - name : Install dependencies
27+ run : |
28+ python -m pip install --upgrade pip
29+ if [ -f requirements.txt ]; then pip install -r requirements.txt; fi
30+ - name : Perform linting
31+ run : |
32+ make INSTANCE=galaxy-qa1.galaxy.cloud.e-infra.cz lint
33+ make INSTANCE=galaxy-qa1.galaxy.cloud.e-infra.cz fix
34+ make INSTANCE=usegalaxy.cz lint
35+ make INSTANCE=usegalaxy.cz fix
36+ - name : Create Pull Request
37+ uses : peter-evans/create-pull-request@v7
38+ with :
39+ committer :
CESNETbot <[email protected] > 40+ commit-message : " output of make lint & make fix on all instances"
41+ title : " Linting and Fixing All Tools"
42+ body : " I ran make lint & make fix on all instances"
43+ labels : automated
44+ assignees : martenson
45+ reviewers : martenson
You can’t perform that action at this time.
0 commit comments