Skip to content

Commit

Permalink
Merge branch 'refs/heads/master' into test
Browse files Browse the repository at this point in the history
# Conflicts:
#	.github/workflows/auto-locale.yml
  • Loading branch information
VigersRay committed Jan 11, 2025
2 parents cc2d5b1 + adb11ab commit cd129db
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions .github/workflows/auto-locale.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,22 +4,24 @@ on:
push:
branches:
- master
pull_request:
types:
- closed

permissions:
contents: write
pull-requests: read

jobs:
update-changelog:
update-locale:
runs-on: ubuntu-latest
if: github.repository == 'space-sunrise/space-station-14'
if: github.repository == 'space-sunrise/space-station-14' && github.event.pull_request.merged == true

steps:
- name: Checkout repository
uses: actions/checkout@v3

- name: Set up Python
if: github.head_ref != ''
uses: actions/setup-python@v2
with:
python-version: '3.x'
Expand All @@ -42,12 +44,10 @@ jobs:
echo "Script exited with code $?"
- name: Git status before commit
if: github.head_ref != ''
run: |
git status
- name: Commit and push changes
if: github.head_ref != ''
run: |
git config user.name "github-actions[bot]"
git config user.email "github-actions[bot]@users.noreply.github.com"
Expand All @@ -56,5 +56,5 @@ jobs:
echo "No changes to commit."
else
git commit -m "Update locale [skip ci]"
git push origin HEAD:Starlight
git push origin HEAD:master
fi

0 comments on commit cd129db

Please sign in to comment.