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

V next #67

Merged
merged 5 commits into from
Feb 24, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 4 additions & 1 deletion .github/workflows/auto-approve.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
name: auto-approve
on:
pull_request_target:
pull_request:
types:
- labeled
- opened
- synchronize
- reopened
- ready_for_review

permissions: {}

jobs:
approve:
runs-on: ubuntu-latest
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@ on:
paths:
- app-src/**
- cdk/**
- .github/workflows/**

permissions: {}

Expand Down
21 changes: 14 additions & 7 deletions .github/workflows/review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,22 @@ on:
pull_request_review:
types: [submitted]

permissions: {}

jobs:
review:
runs-on: ubuntu-latest
steps:
- name: Check if review was approved by specific user
- name: Set approval status
id: check_approval
run: |
if [[ github.event.review.state == 'approved' && github.event.review.user.login == 'hakenmt' ]]; then
echo "✅ Test a since review was performed by an allowed user."
else
"🚨 Workflow requires admin review approval."
exit 1
fi
if [[ "${GITHUB_EVENT_REVIEW_STATE}" == "approved" && ("${GITHUB_EVENT_REVIEW_USER_LOGIN}" == "hakenmt" || "${GITHUB_EVENT_REVIEW_USER_LOGIN}" == "github-actions[bot]") ]]; then
echo "✅ Test a since review was performed by an allowed user."
echo "approved=true" >> $GITHUB_ENV
else
echo "🚨 Workflow requires admin review approval."
exit 1
fi
env:
GITHUB_EVENT_REVIEW_STATE: ${{ github.event.review.state }}
GITHUB_EVENT_REVIEW_USER_LOGIN: ${{ github.event.review.user.login }}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
[Build Workflow](https://github.com/awslabs/multi-az-workshop/actions/workflows/build.yml/badge.svg) [Test Workflow](https://github.com/awslabs/multi-az-workshop/actions/workflows/test.yml/badge.svg) [Publish Workflow](https://github.com/awslabs/multi-az-workshop/actions/workflows/publish.yml/badge.svg)
![Build Workflow](https://github.com/awslabs/multi-az-workshop/actions/workflows/build.yml/badge.svg) ![Test Workflow](https://github.com/awslabs/multi-az-workshop/actions/workflows/test.yml/badge.svg) ![Publish Workflow](https://github.com/awslabs/multi-az-workshop/actions/workflows/publish.yml/badge.svg)

## Advanced Multi-AZ Resilience Patterns
### Building, operating, and testing resilient multi-AZ applications
Expand Down
17 changes: 0 additions & 17 deletions pipeline/MultiAZWorkshopPipeline.cs

This file was deleted.

22 changes: 0 additions & 22 deletions pipeline/MultiAzWorkshopPipeline.csproj

This file was deleted.

29 changes: 0 additions & 29 deletions pipeline/Program.cs

This file was deleted.