Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
asbiin committed Oct 30, 2023
1 parent 867e0be commit c37d6a6
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 17 deletions.
1 change: 0 additions & 1 deletion .github/workflows/docker.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- chandler

workflow_dispatch:

Expand Down
1 change: 0 additions & 1 deletion .github/workflows/push.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- chandler

jobs:
build:
Expand Down
9 changes: 5 additions & 4 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -94,17 +94,17 @@ jobs:
uses: actions/cache@v3
with:
path: ${{ steps.composer-cache.outputs.dir }}
key: ${{ runner.os }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
key: ${{ runner.os }}-composer-${{ env.php-version }}-${{ hashFiles('**/composer.lock') }}
restore-keys: |
${{ runner.os }}-composer-${{ matrix.php-version }}-${{ hashFiles('**/composer.lock') }}
${{ runner.os }}-composer-${{ matrix.php-version }}
${{ runner.os }}-composer-${{ env.php-version }}-${{ hashFiles('**/composer.lock') }}
${{ runner.os }}-composer-${{ env.php-version }}
${{ runner.os }}-composer-
# Yarn
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: ${{ env.node-version }}
node-version: ${{ env.build-node-version }}
- name: Cache yarn files
uses: actions/cache@v3
with:
Expand Down Expand Up @@ -159,4 +159,5 @@ jobs:
with:
workflow: Release update
repo: monicahq/docker
ref: refs/heads/main
token: ${{ secrets.DOCKER_GITHUB_TOKEN }}
12 changes: 1 addition & 11 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ on:
push:
branches:
- main
- chandler
pull_request:
types: [opened, synchronize, reopened]
release:
Expand Down Expand Up @@ -181,15 +180,6 @@ jobs:
SONAR_COVERAGE=$(ls -m --format=comma results/${{ env.coverage-with }}/coverage/coverage*.xml | sed -e ':a;N;$!ba;s/\n//g; s/ //g;')
echo "list=$SONAR_COVERAGE" >> $GITHUB_OUTPUT
- name: Set project key
id: projectkey
run: |
if [[ "${{ github.repository }}" == "monicahq/chandler" ]]; then
echo "value=monicahq_chandler" >> $GITHUB_OUTPUT
elif [[ "${{ github.repository }}" == "monicahq/monica" ]]; then
echo "value=monica" >> $GITHUB_OUTPUT
fi
- name: SonarCloud Scan
if: env.SONAR_TOKEN != ''
uses: SonarSource/[email protected]
Expand All @@ -198,7 +188,7 @@ jobs:
SONAR_TOKEN: ${{ secrets.SONAR_TOKEN }}
with:
args: |
-Dsonar.projectKey=${{ steps.projectkey.outputs.value }}
-Dsonar.projectKey=monica
-Dsonar.organization=monicahq
-Dsonar.sources=app,bootstrap,config,database,public,resources,routes
-Dsonar.exclusions=bootstrap/cache/*,public/vendor/**,resources/lang/**
Expand Down

0 comments on commit c37d6a6

Please sign in to comment.