File tree Expand file tree Collapse file tree 3 files changed +27
-6
lines changed
Expand file tree Collapse file tree 3 files changed +27
-6
lines changed Original file line number Diff line number Diff line change 11name : CI
22
3- on : [push, pull_request, workflow_dispatch]
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
412
513jobs :
614 migrations :
7- if : github.event_name != 'push' || github.event.repository.fork == true || github.ref == 'refs/heads/main'
815 runs-on : ubuntu-latest
916 services :
1017 postgres :
4047 DATABASE_URL : postgres://postgres:postgres@localhost:5432/pythonorg
4148
4249 test :
43- if : github.event_name != 'push' || github.event.repository.fork == true || github.ref == 'refs/heads/main'
4450 runs-on : ubuntu-latest
4551 services :
4652 postgres :
Original file line number Diff line number Diff line change 11name : Lint
22
3- on : [push, pull_request, workflow_dispatch]
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
412
513permissions : {}
614
Original file line number Diff line number Diff line change 11name : Check collectstatic
22
3- on : [push, pull_request, workflow_dispatch]
3+ on :
4+ push :
5+ branches : [main]
6+ pull_request :
7+ workflow_dispatch :
8+
9+ concurrency :
10+ group : ${{ github.workflow }}-${{ github.ref }}
11+ cancel-in-progress : true
412
513jobs :
614 collectstatic :
7- if : github.event_name != 'push' || github.event.repository.fork == true || github.ref == 'refs/heads/main'
815 runs-on : ubuntu-latest
916 steps :
1017 - name : Check out repository
You can’t perform that action at this time.
0 commit comments