grep for commits #24
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Sync Weblate Commits | |
on: | |
push: | |
branches: | |
- main | |
jobs: | |
check-and-sync: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: List Weblate Commits | |
id: weblate-commits | |
run: | | |
git fetch origin | |
git log --grep="Weblate" main | |
COMMITS=$(git log --grep="Weblate" main --format=%H) | |
echo "these are the commits $COMMITS" | |
BR=$(git branch -a) | |
echo "there are the branches $BR" | |