File tree Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Expand file tree Collapse file tree 3 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1111jobs :
1212 release :
1313 runs-on : ubuntu-latest
14- if : github.repository_owner == 'djgoku'
14+ if : |
15+ github.repository_owner == 'djgoku' &&
16+ (
17+ (!startsWith(github.ref, 'refs/tags/')) ||
18+ (startsWith(github.ref, 'refs/tags/') && github.actor == 'djgoku')
19+ )
1520 steps :
1621 - uses : actions/checkout@v4
1722 - name : Install devbox with empty devbox.json
Original file line number Diff line number Diff line change @@ -43,8 +43,6 @@ defmodule AwsSsoConfigGenerator do
4343 |> Util . sso_oidc_register_client ( )
4444 |> Util . sso_oidc_start_device_authorization ( )
4545
46- Util . browser_open ( config . verification_uri_complete )
47-
4846 output = """
4947 aws-sso-config-generator #{ Application . spec ( :aws_sso_config_generator , :vsn ) }
5048
@@ -59,6 +57,8 @@ defmodule AwsSsoConfigGenerator do
5957
6058 IO . puts ( output )
6159
60+ Util . browser_open ( config . verification_uri_complete )
61+
6262 maybe_access_token = Util . request_until ( config , config . expires_in )
6363
6464 if is_nil ( maybe_access_token ) do
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ defmodule AwsSsoConfigGenerator.MixProject do
44 def project do
55 [
66 app: :aws_sso_config_generator ,
7- version: "0.2.0 " ,
7+ version: "0.2.1 " ,
88 elixir: "~> 1.18" ,
99 start_permanent: Mix . env ( ) == :prod ,
1010 deps: deps ( ) ,
You can’t perform that action at this time.
0 commit comments