Skip to content

Commit 4fb106b

Browse files
authored
feat(scripts): daily refresh SLAs (#3496)
1 parent e2369e6 commit 4fb106b

File tree

1 file changed

+35
-0
lines changed

1 file changed

+35
-0
lines changed
Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
name: Scheduled SLA refresh
2+
3+
on:
4+
schedule:
5+
- cron: '0 10 * * *'
6+
workflow_dispatch:
7+
inputs:
8+
fake_input:
9+
description: input needed to satisfy the yaml linter
10+
required: false
11+
12+
jobs:
13+
release:
14+
name: Scheduled SLA refresh
15+
runs-on: ubuntu-22.04
16+
steps:
17+
- uses: actions/checkout@v4
18+
with:
19+
fetch-depth: 0
20+
ref: main
21+
22+
- name: Setup
23+
id: setup
24+
uses: ./.github/actions/setup
25+
with:
26+
type: minimal
27+
28+
- run: yarn cli release --sla-only
29+
env:
30+
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}
31+
32+
- name: Push specs to algolia documentation
33+
run: yarn workspace scripts pushToAlgoliaDoc
34+
env:
35+
GITHUB_TOKEN: ${{ secrets.ALGOLIA_BOT_TOKEN }}

0 commit comments

Comments
 (0)