diff --git a/contributing.md b/contributing.md index d5f0142aa8a..b127afe919a 100644 --- a/contributing.md +++ b/contributing.md @@ -322,9 +322,16 @@ Example: `Fix typos in Foo scaladoc`
-
Before creating a pull request in Apache Spark, it is important to check if tests can pass on your branch because +our GitHub Actions workflows automatically run tests for your pull request/following commits +and every run burdens the limited resources of GitHub Actions in Apache Spark repository. +Below steps will take your through the process.
+./dev/run-tests to verify that the code still compiles, passes tests, and
-passes style checks. Alternatively you can run the tests via GitHub Actions workflow by
-Running tests in your forked repository.
+passes style checks.
If style checks fail, review the Code Style Guide below.master branch of apache/spark. (Only in special cases would the PR be opened against other branches.)
+the master branch of apache/spark. (Only in special cases would the PR be opened against other branches). This
+will trigger workflows “On pull request*” (on Spark repo) that will look/watch for successful workflow runs on “your” forked repository (it will wait if one is running).
[SPARK-xxxx][COMPONENT] Title, where SPARK-xxxx is
the relevant JIRA number, COMPONENT is one of the PR categories shown at
diff --git a/site/developer-tools.html b/site/developer-tools.html
index 1b073e72f91..477a1ea0ee7 100644
--- a/site/developer-tools.html
+++ b/site/developer-tools.html
@@ -374,25 +374,6 @@ Apache Spark leverages GitHub Actions that enables continuous integration and a wide range of automation. Apache Spark repository provides several GitHub Actions workflows for developers to run before creating a pull request.
- -Before creating a pull request in Apache Spark, it is important to check if tests can pass on your branch because our GitHub Acrions workflows automatically run tests for your pull request/following commits, and every run burdens the limited resources of GitHub Actions in Apache Spark repository.
- -Apache Spark repository has a workflow that enables you to run the same tests for a branch in your own forked repository that does not burden the resource from Apache Spark repository.
- -For example, suppose that you have a branch named “your_branch” for a pull request. -To run tests on “your_branch” and check test results:
- -