This repository was archived by the owner on Feb 19, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Expand file tree Collapse file tree 2 files changed +7
-6
lines changed Original file line number Diff line number Diff line change 1
1
name : Sync issue labels from docs repository
2
2
3
3
env :
4
- GH_TOKEN : ${{ secrets.UPDATE_REPO_INFO_PAT }}
4
+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
5
5
6
+ permissions :
7
+ issues : write
6
8
on :
7
9
push :
8
10
branches :
Original file line number Diff line number Diff line change 1
1
name : Sync repository info from package.json
2
2
3
3
env :
4
- GH_TOKEN : ${{ secrets.UPDATE_REPO_INFO_PAT }}
5
-
4
+ GITHUB_TOKEN : ${{ secrets.UPDATE_REPO_INFO_PAT }}
6
5
on :
7
6
push :
8
- branches :
7
+ branches :
9
8
- saga
10
9
paths :
11
10
- " package.json"
@@ -18,12 +17,12 @@ jobs:
18
17
steps :
19
18
- name : Checkout
20
19
uses : actions/checkout@v3
21
-
20
+
22
21
- name : Sync repository description
23
22
run : gh repo edit --description "`cat package.json | jq -r '.description'`"
24
23
25
24
- name : Sync repository topics
26
25
run : cat package.json | jq '.keywords[]' | xargs -I'{}' gh repo edit --add-topic {}
27
26
28
27
- name : Sync homepage
29
- run : gh repo edit --homepage "`cat package.json | jq -r '.homepage'`"
28
+ run : gh repo edit --homepage "`cat package.json | jq -r '.homepage'`"
You can’t perform that action at this time.
0 commit comments