Skip to content

build(deps-dev): bump phpstan/phpstan from 1.12.4 to 1.12.5 #199

build(deps-dev): bump phpstan/phpstan from 1.12.4 to 1.12.5

build(deps-dev): bump phpstan/phpstan from 1.12.4 to 1.12.5 #199

name: APIQANIGHTLY PRESTABULLE CLEANING
on:
pull_request:
types: [closed]
branches:
- develop
env:
LABELS: ${{toJSON(github.event.pull_request.labels)}}
jobs:
apiqanightly_prestabulle:
name: apiqanightly Cleaning Prestabulle
runs-on: ubuntu-latest
timeout-minutes: 25
if: contains(github.event.pull_request.labels.*.name, 'prestabulle1') ||
contains(github.event.pull_request.labels.*.name, 'prestabulle2') ||
contains(github.event.pull_request.labels.*.name, 'prestabulle3')
steps:
- name: Checkout the repository 🎁
uses: actions/checkout@v3
- name: Setting up the Bulle variable for later 💬
run: echo "BULLE=$BULLE$(echo $LABELS > labels.json && cat labels.json | jq -r '.[]|.name'|grep prestabulle)" >> $GITHUB_OUTPUT
id: get_bulle
- name: Trigger clean prestabulle
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: prestabulle-clean.yml
repo: PrestaShopCorp/qanightlyresults-cd
inputs: '{ "project": "api-nightly", "bulle": "${{ steps.get_bulle.outputs.BULLE }}"}'
token: ${{ secrets.TERRAFORM_ACCESS_TOKEN }}
ref: 'refs/heads/main'