We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6ac664b commit 796754aCopy full SHA for 796754a
.github/workflows/fix-permissions.yml
@@ -0,0 +1,24 @@
1
+name: Fix File Permissions
2
+
3
+on:
4
+ pull_request:
5
+ branches:
6
+ - main
7
8
+jobs:
9
+ fix-permissions:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - name: Set correct file permissions
14
+ run: |
15
+ find . -type f -exec chmod 644 {} \;
16
+ find . -type d -exec chmod 755 {} \;
17
+ - name: Commit permission changes
18
19
+ git config --global user.name "github-actions"
20
+ git config --global user.email "github-actions@github.com"
21
+ git add -A
22
+ git commit -m "Fix file permissions" || echo "No changes to commit"
23
+ git push
24
0 commit comments