Skip to content

Commit f42d814

Browse files
committed
💡 Comment reason for bot token
1 parent b51f3af commit f42d814

File tree

8 files changed

+29
-1
lines changed

8 files changed

+29
-1
lines changed

‎.github/workflows/agents-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎.github/workflows/hub-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎.github/workflows/inference-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎.github/workflows/jinja-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎.github/workflows/languages-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎.github/workflows/tasks-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎.github/workflows/widgets-publish.yml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,10 @@ jobs:
2525
steps:
2626
- uses: actions/checkout@v3
2727
with:
28+
# Needed to push the tag and the commit on the main branch, otherwise we get:
29+
# > Run git push --follow-tags
30+
# remote: error: GH006: Protected branch update failed for refs/heads/main.
31+
# remote: error: Changes must be made through a pull request. Required status check "lint" is expected.
2832
token: ${{ secrets.BOT_ACCESS_TOKEN }}
2933
- run: corepack enable
3034
- uses: actions/setup-node@v3

‎packages/tasks/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "@huggingface/tasks",
33
"packageManager": "[email protected]",
4-
"version": "0.2.1",
4+
"version": "0.2.2",
55
"description": "List of ML tasks for huggingface.co/tasks",
66
"repository": "https://github.com/huggingface/huggingface.js.git",
77
"publishConfig": {

0 commit comments

Comments
 (0)