From 5bd026ca9ebd3d07ae034327f325dca815ea7172 Mon Sep 17 00:00:00 2001 From: Tushar Goel <34160672+TG1999@users.noreply.github.com> Date: Mon, 8 Dec 2025 14:48:08 +0530 Subject: [PATCH] Enhance workflow with schedule and repo updates Updated workflow to include a schedule and modified repository references. --- .github/workflows/mine-swift-packageurls.yml | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/.github/workflows/mine-swift-packageurls.yml b/.github/workflows/mine-swift-packageurls.yml index cc2dbfff..5e66806f 100644 --- a/.github/workflows/mine-swift-packageurls.yml +++ b/.github/workflows/mine-swift-packageurls.yml @@ -1,4 +1,7 @@ -on: [workflow_dispatch] +on: + workflow_dispatch: + schedule: + - cron: '0 */12 * * *' jobs: mine-pypi-purls: @@ -7,10 +10,10 @@ jobs: steps: - uses: aboutcode-org/scancode-action@beta with: - scancodeio-repo-branch: "collect-purl-metadata#egg=scancodeio[mining]" + scancodeio-repo-branch: "minecode-git-deployment#egg=scancodeio[mining]" pipelines: "mine_swift" env: - FEDERATEDCODE_GIT_ACCOUNT_URL: https://github.com/aboutcode-data/minecode-data-swift-test + FEDERATEDCODE_GIT_ACCOUNT_URL: https://github.com/aboutcode-data FEDERATEDCODE_GIT_SERVICE_TOKEN: ${{ secrets.MINING_GITHUB_TOKEN }} FEDERATEDCODE_GIT_SERVICE_NAME: "AboutCode Automation" FEDERATEDCODE_GIT_SERVICE_EMAIL: "automation@aboutcode.org"