dans "mon compte" ajout de la possibilité d'accéder à son compte inclusion connect pour éditer ses informations #734
Workflow file for this run
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: "Validation PR" | |
on: | |
pull_request: | |
types: | |
- opened | |
- ready_for_review | |
- review_requested | |
- synchronize | |
concurrency: | |
group: review-app-${{ github.event.number }} | |
cancel-in-progress: true | |
jobs: | |
fullcheck: | |
uses: ./.github/workflows/fullcheck.yml | |
secrets: | |
API_KEY_OPEN_CAGE_DATA_GEOCODING: ${{ secrets.API_KEY_OPEN_CAGE_DATA_GEOCODING }} | |
API_KEY_OPEN_CAGE_DATA_GEOSEARCH: ${{ secrets.API_KEY_OPEN_CAGE_DATA_GEOSEARCH }} | |
IC_ADMIN_PASSWORD: ${{ secrets.IC_ADMIN_PASSWORD }} | |
IC_PASSWORD: ${{ secrets.IC_PASSWORD }} | |
IC_USERNAME: ${{ secrets.IC_USERNAME }} | |
SIRENE_BEARER_TOKEN: ${{ secrets.SIRENE_BEARER_TOKEN }} | |
INCLUSION_CONNECT_CLIENT_SECRET: ${{ secrets.INCLUSION_CONNECT_CLIENT_SECRET }} | |
verify-migration-order: | |
name: "Verify migration order" | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v4 | |
- uses: pnpm/action-setup@v3 | |
with: | |
version: 9.4.0 | |
- name: Use Node.js | |
uses: actions/setup-node@v4 | |
with: | |
node-version: "20.15.0" | |
cache: "pnpm" | |
- run: | | |
pnpm back verify-migrations-order | |
deploy-review-app: | |
if: github.event.pull_request.draft == false && github.event.pull_request.state == 'open' | |
uses: ./.github/workflows/review-app-deploy.yml | |
with: | |
pull_request_id: ${{ github.event.number }} | |
run_number: ${{ github.run_number }} | |
secrets: | |
SCALINGO_API_TOKEN: ${{ secrets.SCALINGO_API_TOKEN }} | |
run-seeds: | |
needs: deploy-review-app | |
runs-on: ubuntu-latest | |
environment: review-app | |
steps: | |
- name: Install scalingo CLI | |
run: | | |
wget -qO- https://cli-dl.scalingo.com/install.sh | bash | |
echo "$HOME/bin" >> $GITHUB_PATH | |
- name: Login to scalingo | |
run: scalingo login --api-token ${{ secrets.SCALINGO_API_TOKEN }} | |
- name: Run DB seed | |
run: scalingo --app if-dev-back-pr${{ github.event.number }} run pnpm db:seed | |
notify-pr: | |
if: github.event.pull_request.draft == false && github.event.pull_request.state == 'open' | |
runs-on: ubuntu-latest | |
needs: deploy-review-app | |
steps: | |
- name: Find existing notification | |
uses: peter-evans/find-comment@v3 | |
id: find-comment | |
with: | |
issue-number: ${{ github.event.number }} | |
body-regex: Review app:\nhttps:\/\/if-dev-front-pr | |
- name: Notify PR about the webapp url | |
if: steps.find-comment.outputs.comment-id == '' | |
uses: thollander/actions-comment-pull-request@v2 | |
with: | |
message: | | |
Review app: | |
https://if-dev-front-pr${{ github.event.number }}.osc-fr1.scalingo.io |