@@ -24,53 +24,44 @@ jobs:
2424 update-contributors :
2525 if : github.event_name == 'push' && startsWith(github.ref, 'refs/tags/')
2626 runs-on : ubuntu-latest
27+ permissions :
28+ contents : write
29+ pull-requests : write
2730 steps :
2831 - name : Checkout
2932 uses : actions/checkout@v4
3033 with :
31- token : ${{ secrets.TOKEN }}
34+ token : ${{ secrets.GITHUB_TOKEN }}
35+ fetch-depth : 0
3236
3337 - name : Update Contributors in README.md
34383539 with :
3640 image_size : 90
3741 columns_per_row : 7
38- readme_path : README.md
39- use_username : false
40- collaborators : direct
41- commit_message : docs(contributor): contrib-readme-action has updated README.md
42- auto_detect_branch_protection : true
43- pr_title_on_protected : docs(contributor): contributors readme action update
42+ auto_detect_branch_protection : false
4443 env :
45- GITHUB_TOKEN : ${{ secrets.TOKEN }}
44+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
4645
4746 - name : Update Contributors in README_CN.md
48474948 with :
5049 image_size : 90
5150 columns_per_row : 7
5251 readme_path : README_CN.md
53- use_username : false
54- collaborators : direct
55- commit_message : docs(contributor): contrib-readme-action has updated README_CN.md
56- auto_detect_branch_protection : true
57- pr_title_on_protected : docs(contributor): contributors readme action update
52+ auto_detect_branch_protection : false
5853 env :
59- GITHUB_TOKEN : ${{ secrets.TOKEN }}
54+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
6055
6156 - name : Update Contributors in README_JP.md
62576358 with :
6459 image_size : 90
6560 columns_per_row : 7
6661 readme_path : README_JP.md
67- use_username : false
68- collaborators : direct
69- commit_message : docs(contributor): contrib-readme-action has updated README_JP.md
70- auto_detect_branch_protection : true
71- pr_title_on_protected : docs(contributor): contributors readme action update
62+ auto_detect_branch_protection : false
7263 env :
73- GITHUB_TOKEN : ${{ secrets.TOKEN }}
64+ GITHUB_TOKEN : ${{ secrets.GITHUB_TOKEN }}
7465
7566 # Build and release popular apps
7667 release-apps :
@@ -144,6 +135,5 @@ jobs:
144135 push : true
145136 tags : ${{ steps.meta.outputs.tags }}
146137 labels : ${{ steps.meta.outputs.labels }}
147- cache-from : type=gha
148- cache-to : type=gha,mode=max
138+ no-cache : true
149139 platforms : linux/amd64
0 commit comments