forked from Dolibarr/dolibarr
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fixup! Automatic php-cs-fixer with commit
- Loading branch information
Showing
1 changed file
with
4 additions
and
4 deletions.
There are no files selected for viewing
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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -13,17 +13,17 @@ jobs: | |
env | ||
- name: Fetch up to merge base on push | ||
uses: BioData/fetch-through-merge-base@v0 | ||
timeout-minutes: 2 | ||
timeout-minutes: 1 | ||
if: github.event_name == 'push' | ||
with: | ||
base_ref: develop | ||
head_ref: ${{ github.sha }} | ||
- name: Fetch up to merge base on pull | ||
uses: BioData/fetch-through-merge-base@v0 | ||
timeout-minutes: 2 | ||
timeout-minutes: 1 | ||
if: github.event_name == 'pull_request' | ||
with: | ||
head_ref: ${{ github.ref }} | ||
head_ref: ${{ github.ref_name }} | ||
- name: Setup PHP | ||
uses: shivammathur/setup-php@v2 | ||
with: | ||
|
@@ -71,9 +71,9 @@ jobs: | |
retention-days: 2 | ||
- name: Commit changes | ||
run: | | ||
git diff || exit 0 | ||
git config user.name github-actions | ||
git config user.email [email protected] | ||
git diff | ||
git add "*.php" | ||
git commit -m "qual: PHP CS FIXER Github Action" | ||
git push |