ProfileCreator / ProfileManifests

Manifest repository for the ProfilePayloads framework
341 stars 146 forks source link

Automatic pre-commit checks on pull requests and pushes to master branch #643

Closed homebysix closed 11 months ago

homebysix commented 11 months ago

This PR adds a GitHub Actions workflow that runs pre-commit on any files included in a pull request or push to master. This should provide useful signal to contributors if their pull request does not align with community preference manifest standards, even if the contributor doesn't have pre-commit installed or configured on their local system.

https://github.com/ProfileCreator/ProfileManifests/pull/641 should be merged before this PR, in order for this failure to be resolved:

Check Apple Preference Manifests.........................................Failed
- hook id: check-preference-manifests
- exit code: 1

Manifests/ManagedPreferencesApplications/com.vpntracker.365mac-config.plist: pfm_format_version should be 1, not 6 (https://github.com/ProfileCreator/ProfileManifests/wiki/Manifest-Format-Versions)
apizz commented 11 months ago

Thanks!