Skip to content

Commit c21c5f2

Browse files
committed
ci: avoid running the signed-off-by check in the schedule
The schedule only gives access to the latest commit via `--depth=1` and that always is a merge commit. It isn't ignored by the `--no-merges` option, because there only is one commit. Thus disable the check if it is running as a schedule. Signed-off-by: Benno Lossin <[email protected]>
1 parent 781e4e2 commit c21c5f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,7 @@ jobs:
206206
env:
207207
RUSTFLAGS: "-Dwarnings"
208208
signed-off-by:
209+
if: github.event_name != 'schedule'
209210
runs-on: ubuntu-latest
210211
steps:
211212
- uses: actions/checkout@v4

0 commit comments

Comments
 (0)