diff --git a/.github/workflows/build-container.yml b/.github/workflows/build-container.yml index 88fcb05..c91e01a 100644 --- a/.github/workflows/build-container.yml +++ b/.github/workflows/build-container.yml @@ -61,7 +61,7 @@ jobs: docker push ${{ secrets.ACR_LOGIN_SERVER }}/$IMAGE_NAME:latest publish-bicep: - if: github.event_name == 'push' || (github.event_name == 'pull_request' && github.event.action != 'closed') + if: (github.event_name == 'pull_request' && github.event.action != 'closed') runs-on: ubuntu-latest steps: - uses: actions/checkout@v4 diff --git a/src/Wam.Proxy.Api/Program.cs b/src/Wam.Proxy.Api/Program.cs index 7f68e93..b71fd3a 100644 --- a/src/Wam.Proxy.Api/Program.cs +++ b/src/Wam.Proxy.Api/Program.cs @@ -4,7 +4,6 @@ using Wam.Proxy; using Yarp.ReverseProxy.Configuration; -var corsPolicyName = "DefaultCors"; var builder = WebApplication.CreateBuilder(args); var azureCredential = CloudIdentity.GetCloudIdentity();