-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating instructions. Fixing usage of Github function merge()
- Loading branch information
devops
committed
Feb 14, 2024
1 parent
aad8f48
commit bdce0cd
Showing
2 changed files
with
18 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -23,6 +23,7 @@ Any PR with the following criteria will be updated and test will be run before m | |
- [Example workflow using Automerge across a Github Organization](#example-workflow-using-automerge-across-a-github-organization) | ||
- [The Workflow](#the-workflow) | ||
- [Reduce CI Pressure](#reduce-ci-pressure) | ||
- [Run Locally](#run-locally) | ||
|
||
# Example workflow using Automerge across a Github Organization | ||
This example workflow will run every 20 minutes and will automerge PRs for tracked repositories in the organization. | ||
|
@@ -104,3 +105,19 @@ on: | |
... | ||
... | ||
``` | ||
|
||
# Run Locally | ||
Checkout the repository you wish to run automerge on to a local directory. | ||
```bash | ||
git clone [email protected]:org/automerge.git | ||
cd automerge | ||
``` | ||
|
||
Now you need to run the command from this new directory | ||
```bash | ||
$(pwd)/../src/automerge.py --org runtimeverification --repo automerger-test --dry-run | ||
``` | ||
|
||
Recommended to first review the actions before running without. Then remove the `--dry-run` flag to run the action. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters