File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed
Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 1919# =============================
2020env :
2121 AUTHOR : " N6REJ"
22- REPO : " N6REJ/mod_bears_julianclock "
23- MODULE_NAME : " mod_bears_julianclock "
24- MODULE_XML : " mod_bears_julianclock .xml"
22+ REPO : " N6REJ/mod_bears_aichatbot "
23+ MODULE_NAME : " mod_bears_aichatbot "
24+ MODULE_XML : " mod_bears_aichatbot .xml"
2525 COPYRIGHT_HOLDER : " BearLeeAble (N6REJ)"
2626 PHP_VERSION : " 8.1"
27+ MODULE_TOKEN : " GH_PAT" # Set your token secret name here (default: GH_PAT)
2728
2829jobs :
2930 update-version-and-release :
6566 uses : actions/checkout@v4
6667 with :
6768 fetch-depth : 0
68- token : ${{ secrets.GH_PAT }}
69+ token : ${{ secrets[env.MODULE_TOKEN] }}
6970 ref : ${{ (steps.context.outputs.is_pr_merge == 'true' && 'main') || (steps.context.outputs.is_pr_update == 'true' && github.event.pull_request.head.ref) || 'main' }}
7071 repository : ${{ (steps.context.outputs.is_pr_update == 'true' && github.event.pull_request.head.repo.full_name) || github.repository }}
7172 - name : Set up PHP
@@ -298,7 +299,7 @@ jobs:
298299 ${{ steps.changelog.outputs.changelog }}
299300 [View full changelog](https://github.com/${{ github.repository }}/blob/main/CHANGELOG.md)
300301 env :
301- GH_PAT : ${{ secrets.GH_PAT }}
302+ GH_PAT : ${{ secrets[env.MODULE_TOKEN] }}
302303 - name : Update Joomla update server XML
303304 if : steps.context.outputs.is_pr_merge == 'true' || steps.context.outputs.is_manual == 'true'
304305 run : |
You can’t perform that action at this time.
0 commit comments