Skip to content

Instantly share code, notes, and snippets.

A test PR

Posted by @giuli007

PR test description

Comments

Comment by @giuli007

@giuli007
giuli007 / get_pr_data.sh
Last active May 15, 2025 12:27
Pull Request data for llm
#!/bin/bash
set -euo pipefail
# Check if a URL is provided
if [ -z "$1" ]; then
echo "Usage: $0 <github-pull-request-url>"
exit 1
fi
url="$1"
repos:
- id: '/.*/'
allowed_overrides: []
apply_requirements: ['mergeable', 'approved']
allow_custom_workflows: false
workflow: terragrunt
pre_workflow_hooks:
- run: |-
bash -c "cat > atlantis.yaml << EOL
version: 2