Skip to content

Update Shortcut ip lists #147

Update Shortcut ip lists

Update Shortcut ip lists #147

Workflow file for this run

name: Update Shortcut ip lists
on:
schedule:
- cron: "0 3 * * 6"
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
env:
MAXMIND_LICENSE_KEY: ${{ secrets.MAXMIND_LICENSE_KEY }}
jobs:
build:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Set up Go
uses: actions/setup-go@v4
with:
go-version-file: "go.mod"
- name: Granting private modules access
run: |
git config --global url."https://${{ secrets.CI_PRIVATE_REPOS_GH_TOKEN }}:[email protected]/".insteadOf "https://github.com/"
- run: |
cd ./shortcut
./genlist.sh
go test -run TestShortcutResources
git config user.name github-actions
git config user.email [email protected]
git add resources/*
git commit -m "pushing auto-generated shortcut ip lists"
echo "pushing to main"
git push origin main