@@ -10,7 +10,6 @@ permissions: read-all
1010
1111jobs :
1212 trigger_linearize :
13- # runs-on: ubuntu-latest
1413 runs-on : [self-hosted, chrobalt-linux-runner]
1514 permissions :
1615 contents : write
1918 uses : actions/checkout@v4
2019 with :
2120 ref : main
22- fetch-depth : 0
21+ fetch-depth : 10
2322 - name : Checkout rebase_tools
2423 uses : actions/checkout@v4
2524 with :
4241 set -eux
4342 # m114 merge commit=38a06fe8674ad2140ff85c87b5b3a817304e369a
4443 python main.py linearize --repo-path=${GITHUB_WORKSPACE} --source-branch=main --new-branch-name=automated/linear_main \
45- --start-commit-ref=38a06fe8674ad2140ff85c87b5b3a817304e369a --end-commit-ref=${REV}
44+ --start-commit-ref=b0083b72e59cbf351aa284e89dcbbb6ea7d69dff --end-commit-ref=${REV}
4645 - name : Update automated/linear_main and commit map, extract m114 commits
4746 run : |
4847 set -eux
5554
5655 # Create new commits json for m114
5756 python main.py commits --repo-path=${GITHUB_WORKSPACE} --source-branch=origin/automated/linear_main \
58- --start-commit-ref=38a06fe8674ad2140ff85c87b5b3a817304e369a --end-commit-ref=$REV --output-file=automated_commits_m114.json
57+ --start-commit-ref=b0083b72e59cbf351aa284e89dcbbb6ea7d69dff --end-commit-ref=$REV --output-file=${GITHUB_WORKSPACE}/automated_commits_m114.json
58+
59+ git checkout experimental/rebase_tools
5960 git add automated_commits_m114.json
61+ echo "===================================================="
62+ git status
63+ git branch
6064 git commit -m "Linearization refresh on $(date +'%Y-%m-%d')."
61- git push --force origin experimental/rebase_tools:experimental/rebase_tools
65+ echo "===================================================="
66+ git status
67+ git branch
68+ git push --force origin experimental/rebase_tools
0 commit comments