Skip to content

Commit

Permalink
ci: dco job should run only on PRs
Browse files Browse the repository at this point in the history
See also message in project-zot/zot@b919279

Signed-off-by: Andrei Aaron <[email protected]>
  • Loading branch information
andaaron committed Nov 28, 2023
1 parent a288523 commit 50296b1
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,18 @@
name: DCO
on:
pull_request:
push:
branches:
- main

permissions: read-all

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v2
- uses: actions/checkout@v4
- name: Set up Python 3.x
uses: actions/setup-python@v1
uses: actions/setup-python@v4
with:
python-version: '3.x'
- name: Check DCO
Expand Down

0 comments on commit 50296b1

Please sign in to comment.