diff --git a/.github/workflows/frogbot-scan-and-fix.yml b/.github/workflows/frogbot-scan-and-fix.yml index d0362c272..aa34c12cc 100644 --- a/.github/workflows/frogbot-scan-and-fix.yml +++ b/.github/workflows/frogbot-scan-and-fix.yml @@ -1,24 +1,23 @@ name: "Frogbot Scan and Fix" on: - push: - tags-ignore: - - '**' - # Creating fix pull requests will be triggered by any push to one of the these branches. - # You can add or replace to any branch you want to open fix pull requests for. - branches: - - 'dev' schedule: - # The job will run once a day at 00:00 GMT. + # The repository will be scanned once a day at 00:00 GMT. - cron: "0 0 * * *" permissions: contents: write pull-requests: write security-events: write jobs: - frogbot: + create-fix-pull-requests: runs-on: ubuntu-latest + strategy: + matrix: + # The repository scanning will be triggered periodically on the following branches. + branch: [ "dev" ] steps: - uses: actions/checkout@v3 + with: + ref: ${{ matrix.branch }} # Install prerequisites - name: Setup Go