Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ajout automatique du lien de la review app dans la PR #4830

Merged
merged 1 commit into from
Nov 21, 2024

Conversation

AntoineGirard
Copy link
Member

@AntoineGirard AntoineGirard commented Nov 20, 2024

Review app

Contexte

J’ai la flemme de copier-coller un lien… Du coup pourquoi ne pas automatiser 🪄

Solution

On colle le lien de la review app en haut du body de PR.

#!/bin/sh

scalingo --region osc-secnum-fr1 --app demo-rdv-solidarites integration-link-manual-review-app `gh pr view --json number --jq '.number'`
gh pr edit -b "$(gh pr view --json body --jq '.body' | sed "1i\\
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

h4ck3r f0r3v3r ❤️

@AntoineGirard AntoineGirard marked this pull request as draft November 20, 2024 16:10
@AntoineGirard AntoineGirard marked this pull request as ready for review November 20, 2024 16:18
Copy link
Contributor

@victormours victormours left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AntoineGirard AntoineGirard enabled auto-merge (squash) November 21, 2024 10:54
@AntoineGirard AntoineGirard merged commit e6d3b83 into production Nov 21, 2024
15 of 16 checks passed
@AntoineGirard AntoineGirard deleted the agd/feat-review-app-link-in-pr branch November 21, 2024 11:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: ✅ Done
Development

Successfully merging this pull request may close these issues.

3 participants