File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change 88 - package.json
99
1010permissions :
11- contents : read
11+ contents : write
1212 pull-requests : write
1313
1414jobs :
1818 steps :
1919 - uses : actions/checkout@v4
2020 with :
21+ ref : ${{ github.head_ref }}
2122 persist-credentials : false
2223 fetch-depth : 0
24+ token : ${{ secrets.PAT_TOKEN }}
2325
2426 - name : Setup Bun
2527 uses : oven-sh/setup-bun@v2
4042 - name : Push changes
4143 uses : ad-m/github-push-action@master
4244 with :
43- github_token : ${{ secrets.GITHUB_TOKEN }}
45+ github_token : ${{ secrets.PAT_TOKEN }}
4446 branch : ${{ github.head_ref }}
4547
4648 - name : Enable auto-merge
Original file line number Diff line number Diff line change @@ -12,6 +12,7 @@ async function checkForUpdates() {
1212 const response = await GET ( '/version.txt' )
1313 const latestVersion = await response . text ( )
1414 const { version : currentVersion } = await browser . storage . local . get ( 'version' )
15+ console . log ( currentVersion , latestVersion )
1516
1617 if ( latestVersion !== currentVersion ) {
1718 const [ css , materialIcons , languageMap ] = await Promise . all ( [
You can’t perform that action at this time.
0 commit comments