blob: 2c16f78b67c23fd94ac22fe1a89d1e0f7a76cf26 [file] [log] [blame]
name: Review BCR Pull Requests
on:
schedule:
- cron: "*/10 * * * *" # Run this action every 10 mins
workflow_dispatch: # So that this can be triggered manually
jobs:
review_prs:
runs-on: ubuntu-latest
steps:
- name: Harden Runner
if: github.repository_owner == 'bazelbuild'
uses: step-security/harden-runner@f4a75cfd619ee5ce8d5b864b0d183aff3c69b55a # v2.13.1
with:
egress-policy: audit
- name: Run BCR PR Reviewer
if: github.repository_owner == 'bazelbuild'
uses: bazelbuild/continuous-integration/actions/bcr-pr-reviewer@0c159455cb33ed35cabe04de77dd6ed8d0b70c7d # master
with:
# This token needs to be updated annually on Feb 05.
token: ${{ secrets.BCR_PR_REVIEW_HELPER_TOKEN }}
action-type: review_prs