Merge pull request #3978 from TheLonerD/patch-1 #247
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: Update Git Attributes | |
on: | |
push: | |
branches: | |
- alpha | |
- development | |
jobs: | |
update_gitattributes: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repository | |
uses: actions/checkout@v2 | |
- name: Run update_gitattribute.py | |
run: | | |
ls -la | |
python update_gitattribute.py | |
- name: Update .gitattributes | |
run: | | |
git config user.name "GitHub Actions" | |
git config user.email "<>" | |
git add .gitattributes | |
git commit -m "Update .gitattributes" || echo "No changes to commit" | |
git push |