From 6d585d3ff3df9d7cf3e477d28cc3553a3cd2c140 Mon Sep 17 00:00:00 2001 From: "fishbrain-terraform[bot]" <146337244+fishbrain-terraform[bot]@users.noreply.github.com> Date: Thu, 12 Oct 2023 03:34:39 +0000 Subject: [PATCH] Automated: Add outsanding PRs github action --- .github/workflows/outstanding-prs.yml | 29 ++++++++++++++------------- 1 file changed, 15 insertions(+), 14 deletions(-) diff --git a/.github/workflows/outstanding-prs.yml b/.github/workflows/outstanding-prs.yml index de499fc..ba9e69d 100644 --- a/.github/workflows/outstanding-prs.yml +++ b/.github/workflows/outstanding-prs.yml @@ -1,22 +1,23 @@ ###################################################################################################################### -# THIS FILE IS AUTOGENERATED. SEE https://github.com/fishbrain/terraform/blob/master/repositories/semgrep.tf # +# THIS FILE IS AUTOGENERATED. SEE https://github.com/fishbrain/terraform/blob/master/repositories/outstanding_prs_action.tf # ###################################################################################################################### -name: Semgrep +name: Outstanding PRs + on: - pull_request: {} - schedule: - - cron: '0 2 * * DAY_OF_THE_WEEK' # Once a week at 2am. + push: + branches: + - develop jobs: - semgrep: - name: Scan + outstanding-prs: + name: Outstanding PRs runs-on: ubuntu-latest - timeout-minutes: 15 # There's been issues with some runs hanging. This times out after 15 minutes instead of the default 360. - container: - image: returntocorp/semgrep - if: (github.actor != 'dependabot[bot]') steps: - - uses: actions/checkout@v4 - - run: semgrep ci + - uses: fishbrain/outstanding-pull-requests-action@v1.0.2 env: - SEMGREP_APP_TOKEN: ${{ secrets.SEMGREP_APP_TOKEN }} + GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} + with: + owner: fishbrain + repository: eslint-config-fishbrain + slackToken: ${{ secrets.SLACK_FISHBRAIN_BOT_TOKEN }} + slackChannel: ${{ secrets.OUTSTANDING_PRS_SLACK_CHANNEL }}