File tree Expand file tree Collapse file tree 3 files changed +7
-1
lines changed
Expand file tree Collapse file tree 3 files changed +7
-1
lines changed Original file line number Diff line number Diff line change 1111 steps :
1212 - name : Checkout code
1313 uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 2 # Fetch current commit and previous commit for comparison
1416
1517 - name : Set up Python
1618 uses : actions/setup-python@v4
2729 FIRESTORE_PROJECT_ID : ${{ secrets.ALPHA_FIRESTORE_PROJECT_ID }}
2830 FIRESTORE_CREDENTIALS_JSON : ${{ secrets.ALPHA_FIRESTORE_CREDENTIALS_JSON }}
2931 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
32+ GITHUB_BASE_SHA : ${{ github.event.before }}
3033 run : |
3134 python update_docs.py --mode incremental
3235
Original file line number Diff line number Diff line change 1111 steps :
1212 - name : Checkout code
1313 uses : actions/checkout@v4
14+ with :
15+ fetch-depth : 2 # Fetch current commit and previous commit for comparison
1416
1517 - name : Set up Python
1618 uses : actions/setup-python@v4
2729 FIRESTORE_PROJECT_ID : ${{ secrets.DEV_FIRESTORE_PROJECT_ID }}
2830 FIRESTORE_CREDENTIALS_JSON : ${{ secrets.DEV_FIRESTORE_CREDENTIALS_JSON }}
2931 OPENAI_API_KEY : ${{ secrets.OPENAI_API_KEY }}
32+ GITHUB_BASE_SHA : ${{ github.event.before }}
3033 run : |
3134 python update_docs.py --mode incremental
3235
Original file line number Diff line number Diff line change 1212 - name : Checkout code
1313 uses : actions/checkout@v4
1414 with :
15- fetch-depth : 0 # Fetch all history so we can compare commits
15+ fetch-depth : 2 # Fetch current commit and previous commit for comparison
1616
1717 - name : Set up Python
1818 uses : actions/setup-python@v4
You can’t perform that action at this time.
0 commit comments