Skip to content

Commit 9f94ef2

Browse files
authored
πŸ”’ Pin GitHub Actions to commit SHAs (#2347)
* πŸ”’ pin model_card_consistency_reminder.yml actions to commit SHAs * πŸ”’ pin trufflehog.yml actions to commit SHAs * πŸ”’ pin api_inference_build_documentation.yml actions to commit SHAs * πŸ”’ pin api_inference_build_pr_documentation.yml actions to commit SHAs * πŸ”’ pin delete_doc_comment.yml actions to commit SHAs * πŸ”’ pin delete_doc_comment_trigger.yml actions to commit SHAs * πŸ”’ pin api_inference_upload_pr_documentation.yml actions to commit SHAs * πŸ”’ pin generate_inference_providers_documentation.yml actions to commit SHAs
1 parent 632c135 commit 9f94ef2

8 files changed

Lines changed: 12 additions & 12 deletions

β€Ž.github/workflows/api_inference_build_documentation.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ on:
99

1010
jobs:
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: hub-docs

β€Ž.github/workflows/api_inference_build_pr_documentation.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ concurrency:
1111

1212
jobs:
1313
build:
14-
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@main
14+
uses: huggingface/doc-builder/.github/workflows/build_pr_documentation.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
1515
with:
1616
commit_sha: ${{ github.event.pull_request.head.sha }}
1717
pr_number: ${{ github.event.number }}

β€Ž.github/workflows/api_inference_upload_pr_documentation.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ on:
88

99
jobs:
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: inference-providers
1414
secrets:

β€Ž.github/workflows/delete_doc_comment.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,6 @@ on:
99

1010
jobs:
1111
delete:
12-
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@main
12+
uses: huggingface/doc-builder/.github/workflows/delete_doc_comment.yml@90b4ee2c10b81b5c1a6367c4e6fc9e2fb510a7e3 # main
1313
secrets:
1414
comment_bot_token: ${{ secrets.COMMENT_BOT_TOKEN }}

β€Ž.github/workflows/delete_doc_comment_trigger.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ on:
77

88
jobs:
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 }}
1313

β€Ž.github/workflows/generate_inference_providers_documentation.ymlβ€Ž

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -14,12 +14,12 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
# Setup
17-
- uses: actions/checkout@v3
18-
- uses: actions/setup-node@v3
17+
- uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
18+
- uses: actions/setup-node@3235b876344d2a9aa001b8d1453c930bba69e610 # v3
1919
with:
2020
node-version: "20"
2121
- name: Install pnpm
22-
uses: pnpm/action-setup@v2
22+
uses: pnpm/action-setup@eae0cfeb286e66ffb5155f1a79b90583a127a68b # v2
2323
with:
2424
run_install: |
2525
- recursive: true
@@ -54,7 +54,7 @@ jobs:
5454
# Create or update Pull Request
5555
- name: Create Pull Request
5656
if: env.changes_detected == 'true'
57-
uses: peter-evans/create-pull-request@v7
57+
uses: peter-evans/create-pull-request@22a9089034f40e5a961c8808d113e2c98fb63676 # v7
5858
with:
5959
token: ${{ secrets.TOKEN_INFERENCE_SYNC_BOT }}
6060
commit-message: Update Inference Providers documentation (automated)

β€Ž.github/workflows/model_card_consistency_reminder.ymlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ jobs:
1414
runs-on: ubuntu-latest
1515
steps:
1616
- name: maintain-comment
17-
uses: actions-cool/maintain-one-comment@v3
17+
uses: actions-cool/maintain-one-comment@4b2dbf086015f892dcb5e8c1106f5fccd6c1476b # v3
1818
with:
1919
body: |
2020
It looks like you've updated documentation related to model or dataset cards in this PR.

β€Ž.github/workflows/trufflehog.ymlβ€Ž

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,10 +11,10 @@ jobs:
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Checkout code
14-
uses: actions/checkout@v4
14+
uses: actions/checkout@de0fac2e4500dabe0009e67214ff5f5447ce83dd # v6.0.2
1515
with:
1616
fetch-depth: 0
1717
- name: Secret Scanning
18-
uses: trufflesecurity/trufflehog@main
18+
uses: trufflesecurity/trufflehog@6bd2d14f7a4bc1e569fa3550efa7ec632a4fa67b # main
1919
with:
2020
extra_args: --results=verified,unknown

0 commit comments

Comments
Β (0)