Skip to content

Commit 2192103

Browse files
committed
rollback
1 parent 7ec0da0 commit 2192103

File tree

1 file changed

+12
-15
lines changed

1 file changed

+12
-15
lines changed

.github/workflows/publish-packages.yml

Lines changed: 12 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -179,17 +179,16 @@ jobs:
179179
- name: Commit and push pubspec.yaml changes for reown_sign
180180
if: github.event.inputs.sign == 'true' && github.event.inputs.core == 'true' && needs.publish-core.outputs.package_version != ''
181181
env:
182-
REOWN_FLUTTER_RELEASE_PAT_PERSONAL: ${{ secrets.REOWN_FLUTTER_RELEASE_PAT_PERSONAL }}
182+
REOWN_FLUTTER_RELEASE_PAT: ${{ secrets.REOWN_FLUTTER_RELEASE_PAT }}
183183
run: |
184-
git config --global user.name 'quetool'
185-
git config --global user.email 'alfredo@reown.com'
184+
git config --global user.name 'github-actions[bot]'
185+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
186186
cd packages/reown_sign
187187
# Check if there are changes to commit to prevent empty commits
188188
if [[ -n $(git status -s pubspec.yaml) ]]; then
189189
git add pubspec.yaml
190190
git commit -m "ci(reown_sign): Update reown_core to ^${{ needs.publish-core.outputs.package_version }} [skip ci]"
191-
# git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT}@github.com/${{ github.repository }}
192-
git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT_PERSONAL}@github.com/reown-com/reown_flutter HEAD:develop
191+
git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT}@github.com/${{ github.repository }}
193192
else
194193
echo "No changes to commit in reown_sign/pubspec.yaml"
195194
fi
@@ -298,17 +297,16 @@ jobs:
298297
- name: Commit and push pubspec.yaml changes for reown_appkit
299298
if: github.event.inputs.appkit == 'true' && ((github.event.inputs.core == 'true' && needs.publish-core.outputs.package_version != '') || (github.event.inputs.sign == 'true' && needs.publish-sign.outputs.package_version != ''))
300299
env:
301-
REOWN_FLUTTER_RELEASE_PAT_PERSONAL: ${{ secrets.REOWN_FLUTTER_RELEASE_PAT_PERSONAL }}
300+
REOWN_FLUTTER_RELEASE_PAT: ${{ secrets.REOWN_FLUTTER_RELEASE_PAT }}
302301
run: |
303-
git config --global user.name 'quetool'
304-
git config --global user.email 'alfredo@reown.com'
302+
git config --global user.name 'github-actions[bot]'
303+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
305304
cd packages/reown_appkit
306305
# Check if there are changes to commit to prevent empty commits
307306
if [[ -n $(git status -s pubspec.yaml) ]]; then
308307
git add pubspec.yaml
309308
git commit -m "ci(reown_appkit): Update core/sign dependencies [skip ci]"
310-
# git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT}@github.com/${{ github.repository }}
311-
git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT_PERSONAL}@github.com/reown-com/reown_flutter HEAD:develop
309+
git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT}@github.com/${{ github.repository }}
312310
else
313311
echo "No changes to commit in reown_appkit/pubspec.yaml"
314312
fi
@@ -414,17 +412,16 @@ jobs:
414412
- name: Commit and push pubspec.yaml changes for reown_walletkit
415413
if: github.event.inputs.walletkit == 'true' && ((github.event.inputs.core == 'true' && needs.publish-core.outputs.package_version != '') || (github.event.inputs.sign == 'true' && needs.publish-sign.outputs.package_version != '') || (github.event.inputs.yttrium == 'true' && needs.publish-yttrium.outputs.package_version != ''))
416414
env:
417-
REOWN_FLUTTER_RELEASE_PAT_PERSONAL: ${{ secrets.REOWN_FLUTTER_RELEASE_PAT_PERSONAL }}
415+
REOWN_FLUTTER_RELEASE_PAT: ${{ secrets.REOWN_FLUTTER_RELEASE_PAT }}
418416
run: |
419-
git config --global user.name 'quetool'
420-
git config --global user.email 'alfredo@reown.com'
417+
git config --global user.name 'github-actions[bot]'
418+
git config --global user.email 'github-actions[bot]@users.noreply.github.com'
421419
cd packages/reown_walletkit
422420
# Check if there are changes to commit to prevent empty commits
423421
if [[ -n $(git status -s pubspec.yaml) ]]; then
424422
git add pubspec.yaml
425423
git commit -m "ci(reown_walletkit): Update core/sign/yttrium dependencies [skip ci]"
426-
# git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT}@github.com/${{ github.repository }}
427-
git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT_PERSONAL}@github.com/reown-com/reown_flutter HEAD:develop
424+
git push https://x-access-token:${REOWN_FLUTTER_RELEASE_PAT}@github.com/${{ github.repository }}
428425
else
429426
echo "No changes to commit in reown_walletkit/pubspec.yaml"
430427
fi

0 commit comments

Comments
 (0)