-
Notifications
You must be signed in to change notification settings - Fork 0
50 lines (48 loc) · 1.31 KB
/
template_flaky_tests.yml
File metadata and controls
50 lines (48 loc) · 1.31 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
name: Find flaky tests
on:
workflow_call:
inputs:
slack-channel-id:
required: true
type: string
slack-channel-name:
required: true
type: string
repository:
required: false
type: string
default: ${{ github.event.repository.full_name }}
branch:
required: false
type: string
default: 'main'
path-suffixes:
required: false
type: string
prefix:
required: true
type: string
secrets:
slack-incoming-webhooks-url:
required: true
token:
required: true
jobs:
flaky-tests:
name: Flaky-Tests
runs-on: ubuntu-slim
permissions:
checks: read
contents: read
steps:
- name: Find flaky tests
uses: Staffbase/github-action-find-flaky-tests@166ee4950d01688cea6a229e6c20ba28ce66c645 # v0.3.1
with:
slack-channel-id: ${{ inputs.slack-channel-id }}
slack-channel-name: ${{ inputs.slack-channel-name }}
repository: ${{ inputs.repository }}
branch: ${{ inputs.branch }}
path-suffixes: ${{ inputs.path-suffixes }}
prefix: ${{ inputs.prefix }}
slack-incoming-webhooks-url: ${{ secrets.slack-incoming-webhooks-url }}
token: ${{ secrets.token }}