Skip to content

Commit

Permalink
Automated: Add outsanding PRs github action
Browse files Browse the repository at this point in the history
  • Loading branch information
fishbrain-terraform[bot] authored Oct 12, 2023
1 parent 56a658f commit 6d585d3
Showing 1 changed file with 15 additions and 14 deletions.
29 changes: 15 additions & 14 deletions .github/workflows/outstanding-prs.yml
Original file line number Diff line number Diff line change
@@ -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/[email protected]
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 }}

0 comments on commit 6d585d3

Please sign in to comment.