Compare commits
1 Commits
bugfix/iss
...
fix/sonarc
| Author | SHA1 | Date | |
|---|---|---|---|
| 523574a93e |
4
.github/workflows/code-quality.yml
vendored
4
.github/workflows/code-quality.yml
vendored
@@ -143,8 +143,10 @@ jobs:
|
||||
|
||||
- name: Check if Codacy token is set
|
||||
id: check_codacy_token
|
||||
env:
|
||||
CODACY_PROJECT_TOKEN: ${{ secrets.CODACY_PROJECT_TOKEN }}
|
||||
run: |
|
||||
if [ -z "${{ secrets.CODACY_PROJECT_TOKEN }}" ]; then
|
||||
if [ -z "$CODACY_PROJECT_TOKEN" ]; then
|
||||
echo "CODACY_PROJECT_TOKEN is not set, running Codacy without upload"
|
||||
echo "skip_upload=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
||||
4
.github/workflows/sonarcloud.yml
vendored
4
.github/workflows/sonarcloud.yml
vendored
@@ -39,8 +39,10 @@ jobs:
|
||||
|
||||
- name: Check if SonarCloud token is set
|
||||
id: check_token
|
||||
env:
|
||||
SONARCLOUD_GITHUB: ${{ secrets.SONARCLOUD_GITHUB }}
|
||||
run: |
|
||||
if [ -z "${{ secrets.SONARCLOUD_GITHUB }}" ]; then
|
||||
if [ -z "$SONARCLOUD_GITHUB" ]; then
|
||||
echo "SONARCLOUD_GITHUB is not set, skipping SonarCloud analysis"
|
||||
echo "skip=true" >> $GITHUB_OUTPUT
|
||||
else
|
||||
|
||||
6
.github/workflows/sync-wiki.yml
vendored
6
.github/workflows/sync-wiki.yml
vendored
@@ -27,6 +27,10 @@ jobs:
|
||||
git clone https://github.com/${{ github.repository }}.wiki.git wiki
|
||||
|
||||
- name: Sync wiki content
|
||||
env:
|
||||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
|
||||
GITHUB_ACTOR: ${{ github.actor }}
|
||||
GITHUB_REPOSITORY: ${{ github.repository }}
|
||||
run: |
|
||||
# Remove all files from wiki repository except .git
|
||||
find wiki -mindepth 1 -maxdepth 1 -not -name '.git' -exec rm -rf {} \;
|
||||
@@ -50,4 +54,4 @@ jobs:
|
||||
git commit -m "Sync wiki from source repository"
|
||||
|
||||
# Push changes
|
||||
git push https://${{ github.actor }}:${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.wiki.git
|
||||
git push https://$GITHUB_ACTOR:$GITHUB_TOKEN@github.com/$GITHUB_REPOSITORY.wiki.git
|
||||
|
||||
Reference in New Issue
Block a user