ci: dco job should run only on PRs (#396)
See also message in b919279eef
Signed-off-by: Andrei Aaron <aaaron@luxoft.com>
This commit is contained in:
parent
a288523a3f
commit
e97e04eee5
8
.github/workflows/dco.yml
vendored
8
.github/workflows/dco.yml
vendored
@ -2,16 +2,18 @@
|
|||||||
name: DCO
|
name: DCO
|
||||||
on:
|
on:
|
||||||
pull_request:
|
pull_request:
|
||||||
push:
|
|
||||||
branches:
|
branches:
|
||||||
- main
|
- main
|
||||||
|
|
||||||
|
permissions: read-all
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
check:
|
check:
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v2
|
- uses: actions/checkout@v4
|
||||||
- name: Set up Python 3.x
|
- name: Set up Python 3.x
|
||||||
uses: actions/setup-python@v1
|
uses: actions/setup-python@v4
|
||||||
with:
|
with:
|
||||||
python-version: '3.x'
|
python-version: '3.x'
|
||||||
- name: Check DCO
|
- name: Check DCO
|
||||||
|
Loading…
Reference in New Issue
Block a user