-
Notifications
You must be signed in to change notification settings - Fork 8
35 lines (33 loc) · 1004 Bytes
/
config-codecov.yml
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
name: Config Codecov
on:
pull_request:
paths:
- .github/workflows/config-codecov.yml
- .github/codecov.yml
push:
branches:
- main
- main-v1
paths:
- .github/workflows/config-codecov.yml
- .github/codecov.yml
permissions: read-all
jobs:
codecov:
name: Codecov
runs-on: ubuntu-22.04
steps:
- name: Harden runner
uses: step-security/harden-runner@eb238b55efaa70779f274895e782ed17c84f2895 # v2.6.1
with:
disable-sudo: true
egress-policy: block
allowed-endpoints: >
actions-results-receiver-production.githubapp.com:443
api.github.com:443
codecov.io:443
github.com:443
- name: Checkout repository
uses: actions/checkout@8ade135a41bc03ea155e62e844d188df1ea18608 # v4.1.0
- name: Validate Codecov configuration
uses: ericcornelissen/codecov-config-validator-action@bbb3f8ef45de6f6ce57ea8d566940bdd78b4814a # v1.0.2