File tree Expand file tree Collapse file tree 5 files changed +9
-9
lines changed
Expand file tree Collapse file tree 5 files changed +9
-9
lines changed Original file line number Diff line number Diff line change 99
1010jobs :
1111 build :
12- uses : huggingface/doc-builder/.github/workflows/build_main_documentation.yml@main
12+ uses : huggingface/doc-builder/.github/workflows/build_main_documentation.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
1313 with :
1414 commit_sha : ${{ github.sha }}
1515 package : setfit
Original file line number Diff line number Diff line change @@ -9,7 +9,7 @@ concurrency:
99
1010jobs :
1111 build :
12- uses : huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
12+ uses : huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
1313 with :
1414 commit_sha : ${{ github.event.pull_request.head.sha }}
1515 pr_number : ${{ github.event.number }}
Original file line number Diff line number Diff line change 77
88jobs :
99 delete :
10- uses : huggingface/doc-builder/.github/workflows/delete_doc_comment_trigger.yml@main
10+ uses : huggingface/doc-builder/.github/workflows/delete_doc_comment_trigger.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
1111 with :
1212 pr_number : ${{ github.event.number }}
Original file line number Diff line number Diff line change @@ -28,10 +28,10 @@ jobs:
2828 runs-on : ${{ matrix.os }}
2929 steps :
3030 - name : Checkout code
31- uses : actions/checkout@v3
31+ uses : actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
3232
3333 - name : Setup Python environment
34- uses : actions/setup-python@v4
34+ uses : actions/setup-python@7f4fc3e22c37d6ff65e88745f38bd3157c663f7c # v4
3535 with :
3636 python-version : ${{ matrix.python-version }}
3737
4444 shell : bash
4545
4646 - name : Try to load cached dependencies
47- uses : actions/cache@v3
47+ uses : actions/cache@6f8efc29b200d32929f49075959781ed54ec270c # v3
4848 id : restore-cache
4949 with :
5050 path : ${{ env.pythonLocation }}
6363 run : python -m pip install .
6464
6565 - name : Restore HF models from cache
66- uses : actions/cache/restore@v3
66+ uses : actions/cache/restore@6f8efc29b200d32929f49075959781ed54ec270c # v3
6767 with :
6868 path : |
6969 ~/.cache/huggingface/hub
8080 echo "NEW_HF_CACHE_HASH=$(find ~/.cache/huggingface/hub ~/.cache/torch -type f -exec sha256sum {} + | LC_ALL=C sort | sha256sum | cut -d ' ' -f 1)" >> $GITHUB_ENV
8181
8282 - name : Save new HF models to cache
83- uses : actions/cache/save@v3
83+ uses : actions/cache/save@6f8efc29b200d32929f49075959781ed54ec270c # v3
8484 with :
8585 path : |
8686 ~/.cache/huggingface/hub
Original file line number Diff line number Diff line change 88
99jobs :
1010 build :
11- uses : huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@main
11+ uses : huggingface/doc-builder/.github/workflows/upload_pr_documentation.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
1212 with :
1313 package_name : setfit
1414 secrets :
You can’t perform that action at this time.
0 commit comments