Skip to content

Update globed.lua

Update globed.lua #13

Workflow file for this run

name: Update Object String
on:
workflow_dispatch:
push:
branches:
- main
paths:
- lua/**
- scripts/build_copy.py
jobs:
run-script:
runs-on: ubuntu-latest
steps:
- name: Checkout repository
uses: actions/checkout@v4
with:
token: ${{ secrets.GITHUB_TOKEN }}
- name: Set up Python
uses: actions/setup-python@v5
with:
python-version: "3.11"
- name: Install dependencies
run: |
python -m pip install --upgrade pip
pip install gmdkit
- name: Run Python script
run: python scripts/build_copy.py
- name: Commit and push changes
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git add -A
if git diff --cached --quiet; then
echo "No changes to commit"
else
git commit -m "Update object string copyable"
git push
fi