Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
bb2cc3ce49 | ||
|
|
e4f54769e6 | ||
|
|
b75a16a781 | ||
|
|
9111958bcf | ||
|
|
95dc6bf0ce | ||
|
|
472abfdf89 |
@@ -4,7 +4,6 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'develop'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
docker:
|
docker:
|
||||||
|
|||||||
@@ -3,7 +3,11 @@ name: Sync GitHub
|
|||||||
on:
|
on:
|
||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- '**'
|
- 'main'
|
||||||
|
- 'feat*'
|
||||||
|
- 'fix*'
|
||||||
|
- 'cleanup*'
|
||||||
|
- 'chore*'
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
sync:
|
sync:
|
||||||
|
|||||||
@@ -4,11 +4,13 @@ on:
|
|||||||
push:
|
push:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'develop'
|
- 'feat*'
|
||||||
pull_request:
|
- 'fix*'
|
||||||
|
- 'cleanup*'
|
||||||
|
- 'chore*'
|
||||||
|
pull_request_target:
|
||||||
branches:
|
branches:
|
||||||
- 'main'
|
- 'main'
|
||||||
- 'develop'
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
test:
|
test:
|
||||||
@@ -26,6 +28,24 @@ jobs:
|
|||||||
coverage: xdebug
|
coverage: xdebug
|
||||||
ini-values: apc.enable_cli=1
|
ini-values: apc.enable_cli=1
|
||||||
|
|
||||||
|
# Authenticate to GitHub to raise API rate limit from 60 → 5,000 req/hour.
|
||||||
|
# Uses the same token that publish.yaml uses to sync to GitHub.
|
||||||
|
- name: Configure GitHub OAuth token
|
||||||
|
env:
|
||||||
|
GITHUB_TOKEN: ${{ secrets.SYNC_GITHUB_TOKEN }}
|
||||||
|
run: composer config --global github-oauth.github.com "$GITHUB_TOKEN"
|
||||||
|
|
||||||
|
# Cache Composer's download cache so repeated CI runs don't re-download
|
||||||
|
# packages at all. Keyed on composer.lock hash — cache busts automatically
|
||||||
|
# when dependencies change.
|
||||||
|
- name: Cache Composer dependencies
|
||||||
|
uses: actions/cache@v4
|
||||||
|
with:
|
||||||
|
path: ~/.composer/cache
|
||||||
|
key: composer-${{ runner.os }}-${{ hashFiles('composer.lock') }}
|
||||||
|
restore-keys: |
|
||||||
|
composer-${{ runner.os }}-
|
||||||
|
|
||||||
- name: Install dependencies
|
- name: Install dependencies
|
||||||
run: composer install --prefer-dist --no-progress
|
run: composer install --prefer-dist --no-progress
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user