Skip to content

Commit

Permalink
Removed redundant variable (#5)
Browse files Browse the repository at this point in the history
* Removed redundant variable

* Changed workflow condition

---------

Co-authored-by: Eduard Keilholz <e.keilholz@4dotnet.nl>
  • Loading branch information
nikneem and Eduard Keilholz authored Oct 1, 2024
1 parent 3c7135b commit 3bb3d49
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build-container.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
1 change: 0 additions & 1 deletion src/Wam.Proxy.Api/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
using Wam.Proxy;
using Yarp.ReverseProxy.Configuration;

var corsPolicyName = "DefaultCors";
var builder = WebApplication.CreateBuilder(args);

var azureCredential = CloudIdentity.GetCloudIdentity();
Expand Down

0 comments on commit 3bb3d49

Please sign in to comment.