File tree Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Expand file tree Collapse file tree 3 files changed +29
-2
lines changed Original file line number Diff line number Diff line change 1+ name : CI / Demo PR
2+
3+ env :
4+ DOCKER_METADATA_PR_HEAD_SHA : ' true'
5+
6+ on :
7+ push :
8+ branches :
9+ - master
10+ - genstage-stack-gs-reconciler
11+ jobs :
12+ pr :
13+ permissions :
14+ id-token : write
15+ contents : read
16+ name : Generate PR
17+ runs-on : ubuntu-latest
18+ steps :
19+ - name : Checkout the repo
20+ uses : actions/checkout@v3
21+ with :
22+ fetch-depth : 0
23+ - name : setup plural
24+ uses : pluralsh/setup-plural@535f6523af77c86b90ce118e17b6362576689ba7
25+ with :
26+ 27+ consoleUrl : https://console.plrldemo.onplural.sh
Original file line number Diff line number Diff line change @@ -344,7 +344,7 @@ defmodule Console.Deployments.Settings do
344344 scopes = Enum . flat_map ( credentials , & & 1 . scopes || [ ] )
345345 |> Enum . uniq ( )
346346 sign_token ( user , scopes )
347- _ -> { :error , "no federated credential for #{ email } match jwt claims" }
347+ _ -> { :error , "no federated credentials for #{ email } match jwt claims" }
348348 end
349349 else
350350 { :token , _ } -> { :error , "invalid jwt format" }
Original file line number Diff line number Diff line change @@ -16,6 +16,7 @@ defmodule ConsoleWeb.Router do
1616 scope "/v1" , ConsoleWeb do
1717 pipe_through [ :api ]
1818
19+ post "/token/exchange" , JWTController , :exchange
1920 get "/dashboard/cluster" , WebhookController , :cluster
2021 end
2122
@@ -79,7 +80,6 @@ defmodule ConsoleWeb.Router do
7980 pipe_through [ :auth ]
8081
8182 scope "/v1" , ConsoleWeb do
82- post "/token/exchange" , JWTController , :exchange
8383 get "/digests" , GitController , :digest
8484 get "/compliance/report" , ComplianceController , :report
8585 get "/compliance/report/:name" , ComplianceController , :report
You can’t perform that action at this time.
0 commit comments