Skip to content

allows to run 'barman switch-wal --force' when the user has the 'pg_checkpoint' role #1112

allows to run 'barman switch-wal --force' when the user has the 'pg_checkpoint' role

allows to run 'barman switch-wal --force' when the user has the 'pg_checkpoint' role #1112

Workflow file for this run

name: SonarQube-Workflow
on:
pull_request:
branches: [ master ]
push:
branches: [ master ]
# Allows you to run this workflow manually from the Actions tab
workflow_dispatch:
jobs:
sonarQube:
name: SonarQube-Job
runs-on: ubuntu-latest
if: github.event_name != 'pull_request' || github.event.pull_request.head.repo.full_name == 'EnterpriseDB/barman'
steps:
- name: Checkout source repo
uses: actions/checkout@v2
- name: Checkout GitHub Action Repo
uses: actions/checkout@master
with:
repository: EnterpriseDB/edb-github-actions.git
ref: master
token: ${{ secrets.REPO_ACCESS_TOKEN }}
path: .github/actions/edb-github-actions
- name: SonarQube Scan
uses: ./.github/actions/edb-github-actions/sonarqube
with:
REPO_NAME: '${{github.event.repository.name}}'
SONAR_PROJECT_KEY: '${{secrets.SONARQUBE_PROJECTKEY}}'
SONAR_URL: '${{secrets.SONARQUBE_URL}}'
SONAR_LOGIN: '${{secrets.SONARQUBE_LOGIN}}'
PULL_REQUEST_KEY: '${{github.event.number}}'
PULL_REQUEST_BRANCH: '${{github.head_ref}}'
PULL_REQUEST_BASE_BRANCH: '${{github.base_ref}}'
REPO_DEFAULT_BRANCH: '${{github.event.repository.default_branch}}'
REPO_EXCLUDE_FILES: '**/src/test/**/*,**/docs/**/*,**/build/**'