Skip to content

Commit

Permalink
s
Browse files Browse the repository at this point in the history
  • Loading branch information
VigersRay committed Jan 11, 2025
1 parent 8d9758f commit 95e80be
Showing 1 changed file with 9 additions and 8 deletions.
17 changes: 9 additions & 8 deletions .github/workflows/auto-locale.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,13 @@
name: Update Locale

on:
push:
branches:
- master
pull_request:
types:
- closed
workflow_dispatch:
# push:
# branches:
# - master
# pull_request:
# types:
# - closed

permissions:
contents: write
Expand All @@ -15,13 +16,14 @@ permissions:
jobs:
update-locale:
runs-on: ubuntu-latest
if: github.repository == 'space-sunrise/space-station-14' && github.event.pull_request.merged == true
if: github.repository == 'space-sunrise/space-station-14' # && github.event.pull_request.merged == true

steps:
- name: Checkout repository
uses: actions/checkout@v3
with:
persist-credentials: false
token: ${{ secrets.PAT }}

- name: Set up Python
uses: actions/setup-python@v2
Expand Down Expand Up @@ -50,7 +52,6 @@ jobs:
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
git remote set-url origin https://x-access-token:${{ secrets.PAT }}@github.com/${{ github.repository }}
git add "Resources/Locale/*"
if git diff --cached --quiet; then
echo "No changes to commit."
Expand Down

0 comments on commit 95e80be

Please sign in to comment.