Skip to content

Commit

Permalink
Merge pull request #9 from valkey-io/mkmkme/add-more-checks
Browse files Browse the repository at this point in the history
Add more checks
  • Loading branch information
mkmkme authored Jul 19, 2024
2 parents 8bdc2a6 + 658e522 commit 40181db
Show file tree
Hide file tree
Showing 4 changed files with 46 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .github/workflows/block-autosquash-commits.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
on: pull_request

name: Pull Requests

jobs:
message-check:
name: Block Autosquash Commits

runs-on: ubuntu-latest

steps:
- name: Block Autosquash Commits
uses: skjnldsv/block-fixup-merge-action@v2

with:
repo-token: ${{ secrets.GITHUB_TOKEN }}
9 changes: 9 additions & 0 deletions .github/workflows/dco.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
name: DCO Check

on: [pull_request]

jobs:
check:
runs-on: ubuntu-latest
steps:
- uses: tisonkun/[email protected]
11 changes: 11 additions & 0 deletions .github/workflows/integration.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,14 @@ jobs:
- name: build and install the wheel
run: |
python setup.py bdist_wheel
# This is a noop job that is only needed for Github settings of the project.
# Github doesn't allow requiring all the checks and instead makes you specify
# all the jobs one by one. "run-tests" however is a matrix job and specifying
# all of its possible items is tedious. So we add this job to make Github happy.
verify_tests_succeeded:
name: Verify that tests succeeded
runs-on: ubuntu-latest
needs: [run-tests]
steps:
- run: true
10 changes: 10 additions & 0 deletions .github/workflows/rebase-merge.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
name: Enforce semi-linear git history

on: pull_request

jobs:
forbid-merge-commits:
runs-on: ubuntu-latest
steps:
- name: Run Forbid Merge Commits Action
uses: motlin/forbid-merge-commits-action@main

0 comments on commit 40181db

Please sign in to comment.