mirror of
https://github.com/sourcegraph/sourcegraph.git
synced 2026-02-06 18:51:59 +00:00
28 lines
769 B
YAML
28 lines
769 B
YAML
name: codenotify
|
|
on:
|
|
pull_request:
|
|
types: [opened, synchronize, ready_for_review]
|
|
|
|
jobs:
|
|
codenotify:
|
|
runs-on: ubuntu-latest
|
|
name: codenotify
|
|
if: ${{ !startsWith(github.head_ref, 'contractors/' )}}
|
|
steps:
|
|
- uses: actions/checkout@v3
|
|
with:
|
|
ref: ${{ github.event.pull_request.head.sha }}
|
|
- uses: sourcegraph/codenotify@v0.6.2
|
|
with:
|
|
filename: 'CODENOTIFY'
|
|
subscriber-threshold: '10'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }}
|
|
- uses: sourcegraph/codenotify@v0.6.2
|
|
continue-on-error: true
|
|
with:
|
|
filename: 'OWNERS'
|
|
subscriber-threshold: '10'
|
|
env:
|
|
GITHUB_TOKEN: ${{ secrets.CODENOTIFY_GITHUB_TOKEN }}
|