From 9f469026c5327eee8bb5c4366716fe25abcfcb64 Mon Sep 17 00:00:00 2001 From: Tharik Kanaka Date: Mon, 24 Jul 2023 12:10:33 +0530 Subject: [PATCH 1/2] Create fossa_scan.yml --- .github/workflows/fossa_scan.yml | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 .github/workflows/fossa_scan.yml diff --git a/.github/workflows/fossa_scan.yml b/.github/workflows/fossa_scan.yml new file mode 100644 index 00000000..ee396260 --- /dev/null +++ b/.github/workflows/fossa_scan.yml @@ -0,0 +1,13 @@ +name: Fossa Scan +on: + workflow_dispatch: + schedule: + - cron: '30 18 * * *' # 00:00 in LK time (GMT+5:30) +jobs: + fossa-scan: + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v3 + - uses: fossas/fossa-action@main + with: + api-key: ${{secrets.FOSSA_APIKEY}} From 825bf9f7c4c1f53eb291fd18fae2d4e86776dd8b Mon Sep 17 00:00:00 2001 From: Tharik Kanaka Date: Wed, 26 Jul 2023 11:53:03 +0530 Subject: [PATCH 2/2] Update fossa_scan.yml --- .github/workflows/fossa_scan.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.github/workflows/fossa_scan.yml b/.github/workflows/fossa_scan.yml index ee396260..651f73a6 100644 --- a/.github/workflows/fossa_scan.yml +++ b/.github/workflows/fossa_scan.yml @@ -9,5 +9,8 @@ jobs: steps: - uses: actions/checkout@v3 - uses: fossas/fossa-action@main + env: + packageUser: ${{ secrets.BALLERINA_BOT_USERNAME }} + packagePAT: ${{ secrets.BALLERINA_BOT_TOKEN }} with: api-key: ${{secrets.FOSSA_APIKEY}}