Skip to content

Commit ab73855

Browse files
Update .GitHub/workflows README.md (#33341)
* Update .GitHub/workflows README.md * Update .github/workflows/README.md Co-authored-by: Danny McCormick <[email protected]> * Add screenshot showing how to run workflow against branch. * Remove trailing whitespace --------- Co-authored-by: Danny McCormick <[email protected]>
1 parent 74bcba1 commit ab73855

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.github/workflows/README.md

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,27 @@
1515
under the License.
1616
-->
1717

18+
# How to fix Workflows for Committers
19+
20+
The following is guidance on how to practically make changes that fix workflows.
21+
22+
1) Create a branch in https://github.com/apache/beam not your fork.
23+
24+
The reason to perform changes to a branch of the main repo instead of your fork is due to the challenge in replicating the environment within which Beam GitHub workflows execute. GitHub workflows allow you to execute against a branch of a repo.
25+
26+
2) Make changes in this branch you anticipate will fix the failing workflow.
27+
28+
3) Run the workflow designating your branch.
29+
30+
In the GitHub workflow interface, you can designate any branch of the repository to run the workflow against. Selecting your branch allows you to test the changes you made. The following screenshot shows an example of this feature.
31+
![image](https://github.com/user-attachments/assets/33ca43fb-b0f8-42c8-80e2-ac84a49e2490)
32+
33+
5) Create a PR, pasting the link to your successful workflow run in the branch
34+
35+
When doing a PR, the checks will not run against your branch. Your reviewer may not know this so you'll want to mention this in your PR description, pasting the link to your successful run.
36+
37+
6) After PR merges, execute the workflow manually to validate your merged changes.
38+
1839
# Running Workflows Manually
1940

2041
Most workflows will get kicked off automatically when you open a PR, push code, or on a schedule.

0 commit comments

Comments
 (0)