Skip to content

Commit 7332c40

Browse files
committed
Merge pull request #1534 from jlowin/pr-tool-2
2 parents ac96fbf + 6d87679 commit 7332c40

File tree

2 files changed

+137
-91
lines changed

2 files changed

+137
-91
lines changed

dev/README.md

+2-3
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,6 @@ It is very important that PRs reference a JIRA issue. The preferred way to do th
88

99
__Please note:__ this tool will restore your current branch when it finishes, but you will lose any uncommitted changes. Make sure you commit any changes you wish to keep before proceeding.
1010

11-
Also, do not run this tool from inside the `dev` folder if you are working with a PR that predates the `dev` directory. It will be unable to restore itself from a nonexistent location. Run it from the main airflow directory instead: `dev/airflow-pr`.
1211

1312
### Execution
1413
Simply execute the `airflow-pr` tool:
@@ -28,6 +27,7 @@ Options:
2827
--help Show this message and exit.
2928
3029
Commands:
30+
close_jira Close a JIRA issue (without merging a PR)
3131
merge Merge a GitHub PR into Airflow master
3232
work_local Clone a GitHub PR locally for testing (no push)
3333
```
@@ -38,8 +38,7 @@ Execute `airflow-pr merge` to be interactively guided through the process of mer
3838

3939
Execute `airflow-pr work_local` to only merge the PR locally. The tool will pause once the merge is complete, allowing the user to explore the PR, and then will delete the merge and restore the original development environment.
4040

41-
Both commands can be followed by a PR number (`airflow-pr merge 42`); otherwise the tool will prompt for one.
42-
41+
Execute `airflow-pr close_jira` to close a JIRA issue without needing to merge a PR. You will be prompted for an issue number and close comment.
4342

4443
### Configuration
4544

0 commit comments

Comments
 (0)