diff --git a/.github/workflows/update-repositories.yml b/.github/workflows/update-repositories.yml index dce71c0..18d6084 100644 --- a/.github/workflows/update-repositories.yml +++ b/.github/workflows/update-repositories.yml @@ -1,9 +1,12 @@ name: Update Repositories file on: + workflow_dispatch: schedule: - cron: "0 0 1 * *" - workflow_dispatch: + push: + paths: + - scripts/fetchRepositories.ts jobs: update-repositories: diff --git a/scripts/fetchRepositories.ts b/scripts/fetchRepositories.ts index 937350a..ac05f46 100644 --- a/scripts/fetchRepositories.ts +++ b/scripts/fetchRepositories.ts @@ -17,15 +17,15 @@ const repos: { author: string; repo: string }[] = [ { author: 'rehlds', repo: 'rehlds' }, { author: 's1lentq', repo: 'ReGameDLL_CS' }, { author: 's1lentq', repo: 'reapi' }, - { author: 's1lentq', repo: 'resemiclip' }, - { author: 's1lentq', repo: 'reunion' }, - { author: 's1lentq', repo: 'rechecker' }, - { author: 's1lentq', repo: 'revoice' }, - { author: 's1lentq', repo: 'refreelook' }, - { author: 's1lentq', repo: 'localizebugfix' }, - { author: 'WPMGPRoSToTeMa', repo: 'SafeNameAndChat' }, - { author: 'rehlds', repo: 'relocalizebugfix' }, - { author: 's1lentq', repo: 'hitboxtracker' } + // { author: 's1lentq', repo: 'resemiclip' }, + // { author: 's1lentq', repo: 'reunion' }, + // { author: 's1lentq', repo: 'rechecker' }, + // { author: 's1lentq', repo: 'revoice' }, + // { author: 's1lentq', repo: 'refreelook' }, + // { author: 's1lentq', repo: 'localizebugfix' }, + // { author: 'WPMGPRoSToTeMa', repo: 'SafeNameAndChat' }, + // { author: 'rehlds', repo: 'relocalizebugfix' }, + // { author: 's1lentq', repo: 'hitboxtracker' } ]; async function fetchLatestRelease(author: string, repo: string): Promise<{ version: string; date: string }> {