Add Turkish translations: Security Best Practices for your Project & Maintaining Balance for Open Source Maintainers #1
This file contains hidden or 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: Fix File Permissions | |
| on: | |
| pull_request: | |
| branches: | |
| - main | |
| jobs: | |
| fix-permissions: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - uses: actions/checkout@v3 | |
| - name: Set correct file permissions | |
| run: | | |
| find . -type f -exec chmod 644 {} \; | |
| find . -type d -exec chmod 755 {} \; | |
| - name: Commit permission changes | |
| run: | | |
| git config --global user.name "github-actions" | |
| git config --global user.email "[email protected]" | |
| git add -A | |
| git commit -m "Fix file permissions" || echo "No changes to commit" | |
| git push | |