Skip to content

Commit

Permalink
Make github-action run only on the original repository
Browse files Browse the repository at this point in the history
  • Loading branch information
Nacosia authored Oct 17, 2024
1 parent 5f88040 commit bd44db9
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/format-translation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,26 +9,26 @@ on:
branches:
- newartwork
paths:
- 'Screens/MiniGame/KinkyDungeon/*'
- "Screens/MiniGame/KinkyDungeon/*"

jobs:
format-translation:
runs-on: ubuntu-latest

if: github.repository == 'Ada18980/KinkiestDungeon'
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Set up Python
uses: actions/setup-python@v3
with:
python-version: '3.x'
python-version: "3.x"

- name: 🚀 Run format-translation script
run: python .github/scripts/format-translation-script.py Screens/MiniGame/KinkyDungeon/Text_KinkyDungeon.csv
- name: 📝 Commit changes
id: check_changes

- name: 📝 Commit changes
id: check_changes
run: |
git config --local user.email "action@github.com"
git config --local user.name "format-translation-action"
Expand Down

0 comments on commit bd44db9

Please sign in to comment.