Skip to content

Commit 18e56ea

Browse files
coyotte508Wauplin
andauthored
try upgrading corepack (huggingface#1170)
Co-authored-by: Lucain <[email protected]>
1 parent a12ca5b commit 18e56ea

File tree

13 files changed

+15
-15
lines changed

13 files changed

+15
-15
lines changed

.github/workflows/agents-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/blob-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/dduf-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/gguf-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/hub-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/inference-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/jinja-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/languages-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

.github/workflows/lint.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ jobs:
2828
PR_REF: ${{ github.event.pull_request.head.ref }}
2929
SHA: ${{ github.sha }}
3030

31-
- run: corepack enable
31+
- run: npm install -g corepack@latest && corepack enable
3232

3333
- uses: actions/setup-node@v3
3434
with:

.github/workflows/space-header-publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ jobs:
3030
# remote: error: GH006: Protected branch update failed for refs/heads/main.
3131
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
3232
token: ${{ secrets.BOT_ACCESS_TOKEN }}
33-
- run: corepack enable
33+
- run: npm install -g corepack@latest && corepack enable
3434
- uses: actions/setup-node@v3
3535
with:
3636
node-version: "20"

0 commit comments

Comments
 (0)