Skip to content

build(deps): bump glob-parent from 5.1.0 to 5.1.2 #118

build(deps): bump glob-parent from 5.1.0 to 5.1.2

build(deps): bump glob-parent from 5.1.0 to 5.1.2 #118

Workflow file for this run

name: Integration CD for nightly board
on:
pull_request:
types: [opened, reopened, synchronize, labeled]
env:
LABELS: ${{toJSON(github.event.pull_request.labels)}}
jobs:
integration_deployment:
name: Deploy (integration)
runs-on: ubuntu-latest
environment: integration
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: Get branch name
id: branch
uses: tj-actions/[email protected]
- name: Get tag
shell: bash
id: get_tag
run: echo TAG=$PREFIX_TAG$(echo $GITHUB_REF | cut -d / -f 3) >> $GITHUB_OUTPUT
- name: Trigger CI / CD
uses: aurelien-baudet/workflow-dispatch@v2
with:
workflow: integration-cd.yml
repo: PrestaShopCorp/qanightlyresults-cd
inputs: '{ "branch": "${{ steps.branch.outputs.current_branch }}", "bulle": "${{ steps.get_bulle.outputs.BULLE }}", "project": "nightly", "repository": "PrestaShop/nightly-board", "tag": "${{ steps.get_tag.outputs.TAG }}", "commit": "${{ github.sha }}"}'
token: ${{ secrets.TERRAFORM_ACCESS_TOKEN }}
ref: 'refs/heads/main'