File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 3636 if : ${{github.repository == 'googleapis/google-cloud-python'}}
3737 steps :
3838 - uses : actions/checkout@v4
39+ # Use a fetch-depth of 2
40+ # See https://github.com/googleapis/google-cloud-python/issues/12013
41+ # and https://github.com/actions/checkout#checkout-head.
42+ with :
43+ fetch-depth : 2
3944 - name : Set up Python 3.11
4045 uses : actions/setup-python@v4
4146 with :
Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v4
16+ # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
17+ # See https://github.com/googleapis/google-cloud-python/issues/12013
18+ # and https://github.com/actions/checkout#checkout-head.
19+ with :
20+ fetch-depth : 2
1621 - name : Setup Python
1722 uses : actions/setup-python@v4
1823 with :
3338 steps :
3439 - name : Checkout
3540 uses : actions/checkout@v4
41+ # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
42+ # See https://github.com/googleapis/google-cloud-python/issues/12013
43+ # and https://github.com/actions/checkout#checkout-head.
44+ with :
45+ fetch-depth : 2
3646 - name : Setup Python
3747 uses : actions/setup-python@v4
3848 with :
Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v4
16+ # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
17+ # See https://github.com/googleapis/google-cloud-python/issues/12013
18+ # and https://github.com/actions/checkout#checkout-head.
19+ with :
20+ fetch-depth : 2
1621 - name : Setup Python
1722 uses : actions/setup-python@v4
1823 with :
Original file line number Diff line number Diff line change 3737 id : date
3838 run : echo "::set-output name=current_date::$(date +'%Y-%m-%d')"
3939 - uses : actions/checkout@v4
40+ # Use a fetch-depth of 2
41+ # See https://github.com/googleapis/google-cloud-python/issues/12013
42+ # and https://github.com/actions/checkout#checkout-head.
43+ with :
44+ fetch-depth : 2
4045 - name : Set up Python 3.10
4146 uses : actions/setup-python@v4
4247 with :
Original file line number Diff line number Diff line change 1313 steps :
1414 - name : Checkout
1515 uses : actions/checkout@v4
16+ # Use a fetch-depth of 2
17+ # See https://github.com/googleapis/google-cloud-python/issues/12013
18+ # and https://github.com/actions/checkout#checkout-head.
19+ with :
20+ fetch-depth : 2
1621 - name : Setup Python
1722 uses : actions/setup-python@v4
1823 with :
Original file line number Diff line number Diff line change 1616 steps :
1717 - name : Checkout
1818 uses : actions/checkout@v4
19+ # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
20+ # See https://github.com/googleapis/google-cloud-python/issues/12013
21+ # and https://github.com/actions/checkout#checkout-head.
1922 with :
2023 fetch-depth : 2
2124 - name : Setup Python
4750 steps :
4851 - name : Checkout
4952 uses : actions/checkout@v4
53+ # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
54+ # See https://github.com/googleapis/google-cloud-python/issues/12013
55+ # and https://github.com/actions/checkout#checkout-head.
56+ with :
57+ fetch-depth : 2
5058 - name : Setup Python
5159 uses : actions/setup-python@v4
5260 with :
7078 steps :
7179 - name : Checkout
7280 uses : actions/checkout@v4
81+ # Use a fetch-depth of 2 to avoid error `fatal: origin/main...HEAD: no merge base`
82+ # See https://github.com/googleapis/google-cloud-python/issues/12013
83+ # and https://github.com/actions/checkout#checkout-head.
84+ with :
85+ fetch-depth : 2
7386 - name : Setup Python
7487 uses : actions/setup-python@v4
7588 with :
Original file line number Diff line number Diff line change 3434 if : ${{github.repository == 'googleapis/google-cloud-python'}}
3535 steps :
3636 - uses : actions/checkout@v4
37+ # Use a fetch-depth of 2
38+ # See https://github.com/googleapis/google-cloud-python/issues/12013
39+ # and https://github.com/actions/checkout#checkout-head.
40+ with :
41+ fetch-depth : 2
3742 - name : Run bash script to update CHANGELOG.md in the root directory
3843 run : ./scripts/updatechangelog.sh
3944 - uses : googleapis/code-suggester@v4
You can’t perform that action at this time.
0 commit comments