|
|
|
@ -1,12 +1,9 @@ |
|
|
|
name: Review app pipeline |
|
|
|
name: Review app pipeline |
|
|
|
|
|
|
|
|
|
|
|
concurrency: |
|
|
|
concurrency: |
|
|
|
group: review-0 |
|
|
|
group: review-${{ github.event.pull_request.number }} |
|
|
|
|
|
|
|
|
|
|
|
on: |
|
|
|
on: |
|
|
|
push: |
|
|
|
|
|
|
|
branches: |
|
|
|
|
|
|
|
- AwsReviewApps |
|
|
|
|
|
|
|
pull_request: |
|
|
|
pull_request: |
|
|
|
types: |
|
|
|
types: |
|
|
|
- opened |
|
|
|
- opened |
|
|
|
@ -21,10 +18,6 @@ defaults: |
|
|
|
jobs: |
|
|
|
jobs: |
|
|
|
infra: |
|
|
|
infra: |
|
|
|
name: Deploy review app infrastructure - TODO |
|
|
|
name: Deploy review app infrastructure - TODO |
|
|
|
runs-on: ubuntu-latest |
|
|
|
|
|
|
|
steps: |
|
|
|
|
|
|
|
- name: TODO |
|
|
|
|
|
|
|
run: echo TODO |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
code: |
|
|
|
code: |
|
|
|
name: Deploy review app code |
|
|
|
name: Deploy review app code |
|
|
|
@ -33,7 +26,7 @@ jobs: |
|
|
|
with: |
|
|
|
with: |
|
|
|
aws_account_id: 837698168072 |
|
|
|
aws_account_id: 837698168072 |
|
|
|
aws_role_prefix: core-dev |
|
|
|
aws_role_prefix: core-dev |
|
|
|
aws_task_prefix: core-review-0 |
|
|
|
aws_task_prefix: core-review-${{ github.event.pull_request.number }} |
|
|
|
environment: review |
|
|
|
environment: review |
|
|
|
permissions: |
|
|
|
permissions: |
|
|
|
id-token: write |
|
|
|
id-token: write |
|
|
|
@ -48,7 +41,6 @@ jobs: |
|
|
|
|
|
|
|
|
|
|
|
steps: |
|
|
|
steps: |
|
|
|
- name: Comment on PR with URL |
|
|
|
- name: Comment on PR with URL |
|
|
|
if: false |
|
|
|
|
|
|
|
uses: unsplash/comment-on-pr@v1.3.0 |
|
|
|
uses: unsplash/comment-on-pr@v1.3.0 |
|
|
|
env: |
|
|
|
env: |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |
|
|
|
|