Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fraz/force rebase before queue #3

Merged
merged 4 commits into from
Aug 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
38 changes: 38 additions & 0 deletions .github/workflows/check-fixup-commits.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: Check for fixup commits

on:
pull_request:
types:
- opened
- reopened
- synchronize
- converted_to_draft
- ready_for_review
- labeled
- unlabeled
- auto_merge_enabled
- auto_merge_disabled

jobs:
check-fixup-commits:
runs-on: ubuntu-latest

env:
HEAD_SHA: ${{ github.event.pull_request.head.sha }}
BASE_SHA: ${{ github.event.pull_request.base.sha }}

steps:
- name: Checkout code
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Check for fixup commits
id: fixup-commits
run: |
if [[ $(git rev-list "$BASE_SHA".."$HEAD_SHA" --grep="^fixup! " | wc -l) -eq 0 ]]; then
echo "No fixup commits found in commit history"
else
echo "Fixup commits found in commit history"
exit 1
fi
9 changes: 9 additions & 0 deletions .mergify.yml
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,7 @@ pull_request_rules:
conditions:
- base=master
- label=automerge:rebase
- linear-history
actions:
queue:
merge_method: merge
Expand All @@ -79,3 +80,11 @@ pull_request_rules:
actions:
queue:
merge_method: squash
- name: rebase and autosquash
conditions:
- base=master
- label=automerge:rebase
- -linear-history
actions:
rebase:
autosquash: true
4 changes: 2 additions & 2 deletions multichain-testing/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ The `agoric` software revision includes the vats necessary for building and test

First, ensure you have Kubernetes available. See https://docs.cosmology.zone/starship/get-started/step-2.

The following will install `kubectl`, `kind`, `helm`, and `yq` as needed.
The followinsg will install `kubectl`, `kind`, `helm`, and `yq` as needed.

```sh
make clean setup
Expand All @@ -45,7 +45,7 @@ make port-forward
make fund-provision-pool override-chain-registry
```

If you get an error like "connection refused", you need to wait longer, until all the pods are Running.
If you get an error like "connection refused", you need to wait longer, until all asdasthe pods are Running.

# Cleanup

Expand Down
Loading