Skip to content

fix: [CPCAP-9876] change master deletion logic check #462

fix: [CPCAP-9876] change master deletion logic check

fix: [CPCAP-9876] change master deletion logic check #462

Workflow file for this run

name: Run Pgskipper Pipeline
permissions:
contents: read
packages: read
actions: read
on:
pull_request:
types: [opened, synchronize, reopened]
branches: [main]
jobs:
Wait-for-images:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
workflow_name:
- build.yaml
steps:
- name: Wait for ${{ matrix.workflow_name }}
uses: netcracker/qubership-workflow-hub/actions/wait-for-workflow@3e428f45132119ce49d90f3770a45d4fe1d1078d
with:
workflow: ${{ matrix.workflow_name }}
token: ${{ secrets.GITHUB_TOKEN }}
poll-interval: 20
Pgskipper-Pipeline:
if: ${{ github.actor != 'dependabot[bot]' && github.event.pull_request.user.login != 'dependabot[bot]' }}
needs: Wait-for-images
uses: Netcracker/qubership-test-pipelines/.github/workflows/pgskipper.yaml@34e86efe815cb03fea20efa760989cd21ca0c776 #master
with:
repository_name: ${{ github.repository }}
service_branch: '${{ github.head_ref || github.ref_name }}'
pipeline_branch: '34e86efe815cb03fea20efa760989cd21ca0c776' #this value must match the value after '@' in 'uses'
secrets:
AWS_S3_ACCESS_KEY_ID: ${{secrets.AWS_S3_ACCESS_KEY_ID}}
AWS_S3_ACCESS_KEY_SECRET: ${{secrets.AWS_S3_ACCESS_KEY_SECRET}}
Tests-Result:
if: always()
needs: Pgskipper-Pipeline
runs-on: ubuntu-latest
steps:
- name: Check tests status
run: |
if [[ "${{ needs.Pgskipper-Pipeline.result }}" != "success" && "${{ needs.Pgskipper-Pipeline.result }}" != "skipped" ]]; then
echo "Tests were failed"
exit 1
fi
echo "All tests completed successfully or not required"