@@ -805,7 +805,7 @@ jobs:
805805 copilot-setup-steps:
806806 runs-on: ubuntu-latest
807807 steps:
808- - uses: github/gh-aw/ actions/setup-cli@v1.0.0
808+ - uses: github/gh-aw- actions/setup-cli@v1.0.0
809809 with:
810810 version: v1.0.0
811811`
@@ -917,7 +917,7 @@ jobs:
917917 - name: Checkout repository
918918 uses: actions/checkout@v4
919919 - name: Install gh-aw extension
920- uses: github/gh-aw/ actions/setup-cli@v1.0.0
920+ uses: github/gh-aw- actions/setup-cli@v1.0.0
921921 with:
922922 version: v1.0.0
923923 - name: Verify gh-aw installation
@@ -1065,7 +1065,7 @@ jobs:
10651065 - name: Checkout
10661066 uses: actions/checkout@v4
10671067 - name: Install gh-aw extension
1068- uses: github/gh-aw/ actions/setup-cli@v1.0.0
1068+ uses: github/gh-aw- actions/setup-cli@v1.0.0
10691069 with:
10701070 version: v1.0.0
10711071` ,
@@ -1074,7 +1074,7 @@ jobs:
10741074 resolver : nil ,
10751075 expectUpgrade : true ,
10761076 validate : func (t * testing.T , got string ) {
1077- if ! strings .Contains (got , "uses: github/gh-aw/ actions/setup-cli@v2.0.0" ) {
1077+ if ! strings .Contains (got , "uses: github/gh-aw- actions/setup-cli@v2.0.0" ) {
10781078 t .Errorf ("Expected updated uses: line, got:\n %s" , got )
10791079 }
10801080 if ! strings .Contains (got , "version: v2.0.0" ) {
@@ -1098,7 +1098,7 @@ jobs:
10981098 runs-on: ubuntu-latest
10991099 steps:
11001100 - name: Install gh-aw extension
1101- uses: github/gh-aw/ actions/setup-cli@v1.0.0
1101+ uses: github/gh-aw- actions/setup-cli@v1.0.0
11021102 with:
11031103 version: v1.0.0
11041104` ,
@@ -1107,7 +1107,7 @@ jobs:
11071107 resolver : & mockSHAResolver {sha : "bd9c0ca491e6334a2797ef56ad6ee89958d54ab9" },
11081108 expectUpgrade : true ,
11091109 validate : func (t * testing.T , got string ) {
1110- want := "uses: github/gh-aw/ actions/setup-cli@bd9c0ca491e6334a2797ef56ad6ee89958d54ab9 # v2.0.0"
1110+ want := "uses: github/gh-aw- actions/setup-cli@bd9c0ca491e6334a2797ef56ad6ee89958d54ab9 # v2.0.0"
11111111 if ! strings .Contains (got , want ) {
11121112 t .Errorf ("Expected unquoted SHA-pinned uses: line %q, got:\n %s" , want , got )
11131113 }
@@ -1126,7 +1126,7 @@ jobs:
11261126 copilot-setup-steps:
11271127 steps:
11281128 - name: Install gh-aw extension
1129- uses: "github/gh-aw/ actions/setup-cli@oldsha # v0.53.2"
1129+ uses: "github/gh-aw- actions/setup-cli@oldsha # v0.53.2"
11301130 with:
11311131 version: v0.53.2
11321132` ,
@@ -1138,7 +1138,7 @@ jobs:
11381138 if strings .Contains (got , `"github/gh-aw` ) {
11391139 t .Errorf ("Quotes must be stripped from uses: value, got:\n %s" , got )
11401140 }
1141- if ! strings .Contains (got , "uses: github/gh-aw/ actions/setup-cli@v2.0.0" ) {
1141+ if ! strings .Contains (got , "uses: github/gh-aw- actions/setup-cli@v2.0.0" ) {
11421142 t .Errorf ("Expected updated unquoted uses: line, got:\n %s" , got )
11431143 }
11441144 if ! strings .Contains (got , "version: v2.0.0" ) {
@@ -1163,7 +1163,7 @@ jobs:
11631163 content : `jobs:
11641164 copilot-setup-steps:
11651165 steps:
1166- - uses: github/gh-aw/ actions/setup-cli@v1.0.0
1166+ - uses: github/gh-aw- actions/setup-cli@v1.0.0
11671167 with:
11681168 version: v1.0.0
11691169` ,
@@ -1178,7 +1178,7 @@ jobs:
11781178 copilot-setup-steps:
11791179 steps:
11801180 - name: Install gh-aw extension
1181- uses: github/gh-aw/ actions/setup-cli@cb7966564184443e601bd6135d5fbb534300070e # v0.58.0
1181+ uses: github/gh-aw- actions/setup-cli@cb7966564184443e601bd6135d5fbb534300070e # v0.58.0
11821182 with:
11831183 version: v0.53.6
11841184` ,
@@ -1187,7 +1187,7 @@ jobs:
11871187 resolver : & mockSHAResolver {sha : "newsha123" },
11881188 expectUpgrade : true ,
11891189 validate : func (t * testing.T , got string ) {
1190- if ! strings .Contains (got , "uses: github/gh-aw/ actions/setup-cli@newsha123 # v0.60.0" ) {
1190+ if ! strings .Contains (got , "uses: github/gh-aw- actions/setup-cli@newsha123 # v0.60.0" ) {
11911191 t .Errorf ("Expected updated SHA-pinned uses: line, got:\n %s" , got )
11921192 }
11931193 if ! strings .Contains (got , "version: v0.60.0" ) {
@@ -1207,7 +1207,7 @@ jobs:
12071207 copilot-setup-steps:
12081208 steps:
12091209 - name: Install gh-aw extension
1210- uses: github/gh-aw/ actions/setup-cli@v0.58.0
1210+ uses: github/gh-aw- actions/setup-cli@v0.58.0
12111211 with:
12121212 version: v0.53.6
12131213` ,
@@ -1216,7 +1216,7 @@ jobs:
12161216 resolver : nil ,
12171217 expectUpgrade : true ,
12181218 validate : func (t * testing.T , got string ) {
1219- if ! strings .Contains (got , "uses: github/gh-aw/ actions/setup-cli@v0.60.0" ) {
1219+ if ! strings .Contains (got , "uses: github/gh-aw- actions/setup-cli@v0.60.0" ) {
12201220 t .Errorf ("Expected updated uses: line, got:\n %s" , got )
12211221 }
12221222 if ! strings .Contains (got , "version: v0.60.0" ) {
@@ -1287,7 +1287,7 @@ jobs:
12871287
12881288 # Step 2 comment — this step should be updated.
12891289 - name: Install gh-aw extension
1290- uses: github/gh-aw/ actions/setup-cli@v1.0.0
1290+ uses: github/gh-aw- actions/setup-cli@v1.0.0
12911291 with:
12921292 version: v1.0.0
12931293 extra-param: keep-me # this param must not be touched
@@ -1325,7 +1325,7 @@ jobs:
13251325
13261326 # Step 2 comment — this step should be updated.
13271327 - name: Install gh-aw extension
1328- uses: github/gh-aw/ actions/setup-cli@v2.0.0
1328+ uses: github/gh-aw- actions/setup-cli@v2.0.0
13291329 with:
13301330 version: v2.0.0
13311331 extra-param: keep-me # this param must not be touched
@@ -1409,7 +1409,7 @@ jobs:
14091409 - name: Checkout repository
14101410 uses: actions/checkout@v4
14111411 - name: Install gh-aw extension
1412- uses: github/gh-aw/ actions/setup-cli@v1.0.0
1412+ uses: github/gh-aw- actions/setup-cli@v1.0.0
14131413 with:
14141414 version: v1.0.0
14151415`
@@ -1432,7 +1432,7 @@ jobs:
14321432 updatedStr := string (updated )
14331433
14341434 // The uses: line must be unquoted
1435- wantUses := "uses: github/gh-aw/ actions/setup-cli@" + sha + " # v2.0.0"
1435+ wantUses := "uses: github/gh-aw- actions/setup-cli@" + sha + " # v2.0.0"
14361436 if ! strings .Contains (updatedStr , wantUses ) {
14371437 t .Errorf ("Expected unquoted uses: line %q, got:\n %s" , wantUses , updatedStr )
14381438 }
0 commit comments