This is an automated email from the ASF dual-hosted git repository.

tvalentyn pushed a commit to branch tvalentyn-gha
in repository https://gitbox.apache.org/repos/asf/beam.git

commit 8cd9163fc7a9173f0bc339a479d3db2b6cb7a052
Author: Valentyn Tymofieiev <[email protected]>
AuthorDate: Fri May 22 15:17:16 2026 -0700

    Allow regeneration.
---
 .github/workflows/update_python_dependencies.yml | 6 +-----
 1 file changed, 1 insertion(+), 5 deletions(-)

diff --git a/.github/workflows/update_python_dependencies.yml 
b/.github/workflows/update_python_dependencies.yml
index 753fb6037fc..6fc7de67cd9 100644
--- a/.github/workflows/update_python_dependencies.yml
+++ b/.github/workflows/update_python_dependencies.yml
@@ -83,10 +83,6 @@ jobs:
           # then get the num days % 42 (our release cadence is 42 days).
           # This will ensure it only runs the week after a release branch has 
been cut.
           days_diff=$(( ($(date +%s) - $(date --date="240306" +%s) 
)/(60*60*24)%42 ))
-          if [[ $GH_EVENT != 'workflow_dispatch' && $days_diff -gt 6 ]]; then
-            echo "Exiting early. We only update dependencies the week after we 
cut the release"
-            exit 0
-          fi
           branchName=weekly_update_python_dependencies_$(date +%s)
           git checkout -b $branchName
           git add -A
@@ -95,7 +91,7 @@ jobs:
             echo "Changes are ready to commit"
             git commit -m "Update Python Dependencies" --quiet
             git push origin $branchName --quiet
-            GITHUB_PR_URL=$(gh pr create --title "Update Python Dependencies" 
--label "python" --body "This PR was created by automation - by default this 
does not execute tests due to a limitation in GitHub Actions. To review this 
PR, please (1) review the contents to make sure all dependency upgrades are 
formatted correctly, (2) close and reopen the PR (3) Approve/merge if tests 
pass successfully.")
+            GITHUB_PR_URL=$(gh pr create --title "Update Python Dependencies - 
manual trigger" --label "python" --body "This PR was created by automation - by 
default this does not execute tests due to a limitation in GitHub Actions. To 
review this PR, please (1) review the contents to make sure all dependency 
upgrades are formatted correctly, (2) close and reopen the PR (3) Approve/merge 
if tests pass successfully.")
             echo "Link of the new PR  $GITHUB_PR_URL"
           else
             echo "No changes on the files"

Reply via email to