mirror of
https://github.com/C24Be/AS_Network_List.git
synced 2026-01-25 15:31:12 +03:00
actions
This commit is contained in:
9
.github/actions/gitReset/action.yaml
vendored
Normal file
9
.github/actions/gitReset/action.yaml
vendored
Normal file
@@ -0,0 +1,9 @@
|
|||||||
|
runs:
|
||||||
|
using: "composite"
|
||||||
|
steps:
|
||||||
|
- name: Git reset, clean, pull
|
||||||
|
shell: bash
|
||||||
|
run: |
|
||||||
|
git reset --hard
|
||||||
|
git clean -fdx
|
||||||
|
git pull
|
||||||
15
.github/workflows/update_ru_all_lists.yml
vendored
15
.github/workflows/update_ru_all_lists.yml
vendored
@@ -26,10 +26,7 @@ jobs:
|
|||||||
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
||||||
token: ${{ env.GH_PAT }}
|
token: ${{ env.GH_PAT }}
|
||||||
ref: ${{ github.branch }}
|
ref: ${{ github.branch }}
|
||||||
- run: |
|
- uses: ./.github/actions/gitReset
|
||||||
git reset --hard
|
|
||||||
git clean -fdx
|
|
||||||
git pull
|
|
||||||
- uses: ./.github/actions/pyInstall
|
- uses: ./.github/actions/pyInstall
|
||||||
- run: ./get_info_from_ripe.py --asn --limit 10
|
- run: ./get_info_from_ripe.py --asn --limit 10
|
||||||
- uses: ./.github/actions/gitPush
|
- uses: ./.github/actions/gitPush
|
||||||
@@ -53,10 +50,7 @@ jobs:
|
|||||||
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
||||||
token: ${{ env.GH_PAT }}
|
token: ${{ env.GH_PAT }}
|
||||||
ref: ${{ github.branch }}
|
ref: ${{ github.branch }}
|
||||||
- run: |
|
- uses: ./.github/actions/gitReset
|
||||||
git reset --hard
|
|
||||||
git clean -fdx
|
|
||||||
git pull
|
|
||||||
- uses: ./.github/actions/pyInstall
|
- uses: ./.github/actions/pyInstall
|
||||||
- run: ./get_info_from_ripe.py --ipv4 --limit 10
|
- run: ./get_info_from_ripe.py --ipv4 --limit 10
|
||||||
- uses: ./.github/actions/gitPush
|
- uses: ./.github/actions/gitPush
|
||||||
@@ -80,10 +74,7 @@ jobs:
|
|||||||
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
fetch-depth: 0 # this is required to fetch all history for all branches and tags
|
||||||
token: ${{ env.GH_PAT }}
|
token: ${{ env.GH_PAT }}
|
||||||
ref: ${{ github.branch }}
|
ref: ${{ github.branch }}
|
||||||
- run: |
|
- uses: ./.github/actions/gitReset
|
||||||
git reset --hard
|
|
||||||
git clean -fdx
|
|
||||||
git pull
|
|
||||||
- uses: ./.github/actions/pyInstall
|
- uses: ./.github/actions/pyInstall
|
||||||
- run: ./get_info_from_ripe.py --ipv6 --limit 10
|
- run: ./get_info_from_ripe.py --ipv6 --limit 10
|
||||||
- uses: ./.github/actions/gitPush
|
- uses: ./.github/actions/gitPush
|
||||||
|
|||||||
Reference in New Issue
Block a user