logging: adjust service name by environment (#514) #655
This file contains hidden or 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
| name: wbstack sync diff | |
| on: | |
| push: | |
| branches: | |
| - 'main' | |
| pull_request: | |
| jobs: | |
| check_only_expected_sync_changes: | |
| runs-on: ubuntu-latest | |
| steps: | |
| - name: Checkout | |
| uses: actions/[email protected] | |
| - name: run sync | |
| run: ./sync.sh | |
| - name: Show `git diff` output | |
| run: git diff | |
| - name: Check only composer changed | |
| run: | | |
| GIT_CHANGES=$(git status --porcelain=v1 -- ':!dist/vendor/composer' ':!dist/vendor/autoload.php') | |
| if [[ $GIT_CHANGES ]]; then | |
| exit 1 | |
| fi |