Skip to content

Commit

Permalink
workflow: ignore merge commits for translations
Browse files Browse the repository at this point in the history
  • Loading branch information
gokadzev committed Nov 15, 2024
1 parent 75cd6ab commit 9048064
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion .github/workflows/translations_tracker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ on:
tags-ignore:
- '*'


jobs:
notify-translators:
runs-on: ubuntu-latest
Expand All @@ -22,6 +21,14 @@ jobs:
exit 0
fi
- name: Check for Pull Request Merge
run: |
COMMIT_MESSAGE=$(git log -1 --pretty=%B)
if [[ "$COMMIT_MESSAGE" == Merge\ pull\ request* ]]; then
echo "This is a merge commit from a pull request. Exiting."
exit 0
fi
- name: Checkout Repository
uses: actions/checkout@v3
with:
Expand Down

0 comments on commit 9048064

Please sign in to comment.