-
-
Notifications
You must be signed in to change notification settings - Fork 5
40 lines (34 loc) · 1023 Bytes
/
update_logit_values.yaml
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
name: Update Logit Values
on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
push:
paths:
- "automation/*"
concurrency:
# since this runs on an interval this should be fine
# but we want concurrency failures since we're doing commits
group: ${{ github.workflow }}-${{ github.head_ref || github.run_id }}
jobs:
update-logit:
name: Update Logit Values
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v4
- name: Run Docker
run: |
cd automation/
docker build -t nfc_values .
docker compose up
sudo chown -R $USER:$USER .
- name: Commit and PR changes
# success() ensures the previous job succeeds
if: ${{ success() }}
uses: peter-evans/create-pull-request@v6
with:
commit-message: "Autogenerated commit for logit update"
body: |
Update logit with latest data.
branch: update/logit
title: "[Automated] Update logit values"