mirror of
https://github.com/HDInnovations/UNIT3D.git
synced 2026-01-31 01:35:31 +01:00
27 lines
1.0 KiB
YAML
27 lines
1.0 KiB
YAML
name: File permissions
|
|
on: [ push, pull_request ]
|
|
jobs:
|
|
pint:
|
|
strategy:
|
|
matrix:
|
|
operating-system:
|
|
- ubuntu-22.04
|
|
name: ${{ matrix.operating-system }}
|
|
runs-on: ${{ matrix.operating-system }}
|
|
steps:
|
|
- name: Checkout
|
|
uses: actions/checkout@v6
|
|
with:
|
|
fetch-depth: 0
|
|
- name: Set file permissions
|
|
run: sudo find ${{ github.workspace }} -type f -exec chmod 664 {} \;
|
|
- name: Set folder permissions
|
|
run: sudo find ${{ github.workspace }} -type d -exec chmod 775 {} \;
|
|
- name: Commit Changes
|
|
uses: stefanzweifel/git-auto-commit-action@v7
|
|
with:
|
|
commit_message: "automation: set git file permissions"
|
|
commit_user_name: unit3d-bot
|
|
commit_user_email: unit3d_gh_bot@protonmail.com
|
|
commit_author: unit3d-bot <unit3d_gh_bot@protonmail.com>
|