Add .gitignore file to exclude unnecessary files and directories; update Gitea badges workflow to use INSTANCE_URL; enhance badge awarding script with slug handling and update badges.json for user exclusions and tier formatting
This commit is contained in:
1 parent
3a5ec76030
commit
ec8522633b
4 files changed
+323
-23
No files matched your search
@@ -24,7 +24,7 @@ jobs:
|
||||
|
||||
- name: Award badges
|
||||
env:
|
||||
GITEA_URL: ${{ vars.GITEA_URL || github.server_url }}
|
||||
GITEA_URL: ${{ vars.INSTANCE_URL || github.server_url }}
|
||||
BADGE_TOKEN: ${{ secrets.BADGE_ADMIN_TOKEN }}
|
||||
# push -> dry-run để review thay đổi config; schedule -> chạy thật
|
||||
DRY_RUN: ${{ github.event_name == 'push' && 'true' || github.event.inputs.dry_run || 'false' }}
|
||||
|
||||
Reference in new issue
Block a user