Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 8 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: CI

on: [push, pull_request, workflow_dispatch]
on:
push:
pull_request:
workflow_dispatch:
Comment on lines +3 to +6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

(optional) this is identical to the original one-liner:

Suggested change
on:
push:
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
migrations:
if: github.event_name != 'push' || github.event.repository.fork == true || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
services:
postgres:
Expand Down Expand Up @@ -40,7 +46,6 @@ jobs:
DATABASE_URL: postgres://postgres:postgres@localhost:5432/pythonorg

test:
if: github.event_name != 'push' || github.event.repository.fork == true || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
services:
postgres:
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/lint.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,13 @@
name: Lint

on: [push, pull_request, workflow_dispatch]
on:
push:
pull_request:
workflow_dispatch:
Comment on lines +3 to +6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
on:
push:
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

permissions: {}

Expand Down
10 changes: 8 additions & 2 deletions .github/workflows/static.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,16 @@
name: Check collectstatic

on: [push, pull_request, workflow_dispatch]
on:
push:
pull_request:
workflow_dispatch:
Comment on lines +3 to +6
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
on:
push:
pull_request:
workflow_dispatch:
on: [push, pull_request, workflow_dispatch]


concurrency:
group: ${{ github.workflow }}-${{ github.ref }}
cancel-in-progress: true

jobs:
collectstatic:
if: github.event_name != 'push' || github.event.repository.fork == true || github.ref == 'refs/heads/main'
runs-on: ubuntu-latest
steps:
- name: Check out repository
Expand Down