Skip to content

Commit 26d369d

Browse files
committed
chore(actions): migrate to data centric ai community
1 parent 45d76ea commit 26d369d

File tree

7 files changed

+9
-49
lines changed

7 files changed

+9
-49
lines changed

.github/workflows/docs.yaml

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,8 @@ on:
1616
types:
1717
- released
1818

19-
19+
permissions:
20+
contents: read
2021

2122
jobs:
2223
prepare:
@@ -28,8 +29,6 @@ jobs:
2829

2930
steps:
3031
- uses: actions/checkout@v4
31-
with:
32-
token: ${{ secrets.ACCESS_TOKEN }}
3332

3433
- name: Find Latest Tag
3534
id: latest_tag
@@ -55,7 +54,6 @@ jobs:
5554
- uses: actions/checkout@v4
5655
with:
5756
fetch-depth: 0
58-
token: ${{ secrets.ACCESS_TOKEN }}
5957

6058
- name: Configurating Git
6159
run: |

.github/workflows/merge-dev.yml

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,4 +59,3 @@ jobs:
5959
with:
6060
tag: ${{ needs.prepare.outputs.version }}
6161
message: ${{ github.event.head_commit.message }}
62-
github_token: ${{ secrets.ACCESS_TOKEN }}

.github/workflows/merge-master.yml

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -27,13 +27,9 @@ jobs:
2727

2828
steps:
2929
- uses: actions/checkout@v4
30-
with:
31-
token: ${{ secrets.ACCESS_TOKEN }}
3230

3331
- uses: cycjimmy/semantic-release-action@v3
3432
id: semantic
35-
env:
36-
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
3733
with:
3834
branch: master
3935
dry_run: true
@@ -58,8 +54,6 @@ jobs:
5854

5955
steps:
6056
- uses: ydataai/[email protected]
61-
env:
62-
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
6357
with:
6458
tag: ${{ needs.prepare.outputs.version }}
6559
message: ${{ github.event.head_commit.message }}
@@ -77,13 +71,9 @@ jobs:
7771
steps:
7872
- name: Delete Previous drafts
7973
uses: hugo19941994/[email protected]
80-
env:
81-
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
8274

8375
- name: Create Draft Release
8476
uses: actions/create-release@v1
85-
env:
86-
GITHUB_TOKEN: ${{ secrets.ACCESS_TOKEN }}
8777
with:
8878
tag_name: ${{ needs.prepare.outputs.release }}
8979
release_name: ${{ needs.prepare.outputs.release }}

.github/workflows/pull-request.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ on:
66
- renovate/**
77
pull_request:
88

9+
permissions:
10+
contents: write
11+
912
jobs:
1013
commitlint:
1114
name: Lint commit message
@@ -81,7 +84,6 @@ jobs:
8184
if: always() && steps.commit.outputs.CHANGES == 'true'
8285
with:
8386
branch: ${{ github.head_ref }}
84-
github_token: ${{ secrets.ACCESS_TOKEN }}
8587

8688
validate-docs:
8789
name: Validate Docs

.github/workflows/release.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,8 @@ on:
66
types:
77
- released
88

9+
permissions:
10+
contents: write
911

1012
jobs:
1113
package:
@@ -66,7 +68,7 @@ jobs:
6668
- uses: AButler/[email protected]
6769
with:
6870
files: "dist/*"
69-
repo-token: ${{ secrets.ACCESS_TOKEN }}
71+
repo-token: ${{ secrets.GITHUB_TOKEN }}
7072
release-tag: ${{ needs.package.outputs.version }}
7173

7274
publish-pypi:

.github/workflows/sonarqube.yaml

Lines changed: 0 additions & 31 deletions
This file was deleted.

.github/workflows/triage.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ jobs:
2020
uses: andymckay/labeler@master
2121
with:
2222
add-labels: "needs-triage"
23-
repo-token: ${{ secrets.ACCESS_TOKEN }}
23+
repo-token: ${{ secrets.GITHUB_TOKEN }}
2424
ignore-if-labeled: true

0 commit comments

Comments
 (0)