[FEATURE] Envoyer un email d'avertissement si l'utilisateur ne s'est pas connecté depuis 12 mois ou plus (PIX-16126) #8379
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: Trigger CircleCI | |
on: | |
pull_request: | |
types: [opened, reopened, synchronize, ready_for_review] | |
push: | |
branches: dev | |
jobs: | |
trigger-ci: | |
runs-on: ubuntu-latest | |
if: github.event.pull_request.draft == false && github.event.pull_request.state == 'open' | |
steps: | |
- name: Extract branch name | |
shell: bash | |
run: echo "branch=${GITHUB_HEAD_REF:-${GITHUB_REF#refs/heads/}}" >> $GITHUB_OUTPUT | |
id: extract_branch | |
- name: Trigger CircleCI | |
uses: CircleCI-Public/[email protected] | |
with: | |
target-branch: ${{ steps.extract_branch.outputs.branch }} | |
env: | |
CCI_TOKEN: ${{ secrets.PIX_SERVICE_CIRCLE_CI_TOKEN }} |