File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -19,18 +19,20 @@ jobs:
1919 commit :
2020 name : Check the validity of the commits
2121 runs-on : ubuntu-latest
22- if : github.event_name == 'pull_request'
2322 # We follow the same contributing patterns as Wireshark. Thanks to
2423 # https://gitlab.com/wireshark/wireshark/-/blob/master/.gitlab-ci.yml
2524 steps :
2625 - name : Get the number of commits in the PR
2726 run : echo "PR_FETCH_DEPTH=$(( ${{ github.event.pull_request.commits }} + 1 ))" >> "${GITHUB_ENV}"
27+ if : github.event_name == 'pull_request'
2828 - name : Checkout Scapy
2929 uses : actions/checkout@v6
3030 with :
3131 fetch-depth : ${{ env.PR_FETCH_DEPTH }}
32+ if : github.event_name == 'pull_request'
3233 - name : AI trailer reminder
3334 run : bash ./.config/ci/check_commits.sh
35+ if : github.event_name == 'pull_request'
3436 spdx :
3537 name : Check SPDX identifiers (Licensing)
3638 runs-on : ubuntu-latest
Original file line number Diff line number Diff line change 44
55# Tox environments:
66# py{version}-{os}-{non_root,root}
7- # In our testing, version can be 37 to 314 or py39 for pypy39
7+ # In our testing, version can be 37 to 314 or py311 for pypy311
88
99[tox]
1010# minversion = 4.0
You can’t perform that action at this time.
0 commit comments