Skip to content

Trigger dummy commit on random without changes #7434

Trigger dummy commit on random without changes

Trigger dummy commit on random without changes #7434

Workflow file for this run

name: Autojson random
on:
workflow_dispatch:
push:
branches:
- random
jobs:
build:
runs-on: ubuntu-latest
steps:
- name: Checkout code
uses: actions/checkout@v3
with:
ref: random
- name: Grant execute permission for script
run: chmod +x *.sh
- name: Generate JSON file
run: ./pif.sh
- name: Check differences in chiteroman.json
run: |
if git diff --exit-code chiteroman.json; then
echo "chiteroman.json is the same, no need to commit."
else
git config --global user.name "daboynb"
git config --global user.email "[email protected]"
git add chiteroman.json
git add osmosis.json
git add device_osmosis.json
git commit -m "Update pif.json"
git push
fi