From 1dd17c1181a93a3fa46e7b10b49f8c43c6537ea9 Mon Sep 17 00:00:00 2001 From: Be Date: Sun, 3 Mar 2024 12:09:26 +0100 Subject: [PATCH] actions --- .github/workflows/update_ru_all_lists.yml | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/.github/workflows/update_ru_all_lists.yml b/.github/workflows/update_ru_all_lists.yml index 81c71ab..410f505 100644 --- a/.github/workflows/update_ru_all_lists.yml +++ b/.github/workflows/update_ru_all_lists.yml @@ -9,9 +9,6 @@ on: workflow_dispatch: schedule: - cron: '0 0 1 * *' - push: - branches: - - main jobs: get_asn: @@ -28,8 +25,9 @@ jobs: with: fetch-depth: 0 # this is required to fetch all history for all branches and tags token: ${{ env.GH_PAT }} + ref: ${{ github.branch }} - uses: ./.github/actions/pyInstall - - run: ./get_info_from_ripe.py --asn --limit 4000 + - run: ./get_info_from_ripe.py --asn --limit 100 - uses: ./.github/actions/gitPush env: PUSH_FILES: auto/*txt @@ -50,8 +48,9 @@ jobs: with: fetch-depth: 0 # this is required to fetch all history for all branches and tags token: ${{ env.GH_PAT }} + ref: ${{ github.branch }} - uses: ./.github/actions/pyInstall - - run: ./get_info_from_ripe.py --ipv4 --limit 4000 + - run: ./get_info_from_ripe.py --ipv4 --limit 100 - uses: ./.github/actions/gitPush env: PUSH_FILES: auto/*txt @@ -72,8 +71,9 @@ jobs: with: fetch-depth: 0 # this is required to fetch all history for all branches and tags token: ${{ env.GH_PAT }} + ref: ${{ github.branch }} - uses: ./.github/actions/pyInstall - - run: ./get_info_from_ripe.py --ipv6 --limit 4000 + - run: ./get_info_from_ripe.py --ipv6 --limit 100 - uses: ./.github/actions/gitPush env: PUSH_FILES: auto/*txt