Skip to content

Commit

Permalink
turn off automation for now
Browse files Browse the repository at this point in the history
  • Loading branch information
diceroll123 committed Jun 1, 2024
1 parent 4a9900a commit 47002a3
Showing 1 changed file with 34 additions and 34 deletions.
68 changes: 34 additions & 34 deletions .github/workflows/update_logit_values.yaml
Original file line number Diff line number Diff line change
@@ -1,40 +1,40 @@
name: Update Logit Values
# name: Update Logit Values

on:
workflow_dispatch:
schedule:
- cron: "0 0 1 * *"
push:
paths:
- "automation/*"
# 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 }}
# 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
# jobs:
# update-logit:
# name: Update Logit Values
# runs-on: ubuntu-latest

steps:
- uses: actions/checkout@v4
# 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: 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"
# - 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"

0 comments on commit 47002a3

Please sign in to comment.