Skip to content

Commit

Permalink
test gh
Browse files Browse the repository at this point in the history
  • Loading branch information
Zetazzz committed Mar 1, 2024
1 parent 8c601c5 commit b33732b
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .github/workflows/pub-wf.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@ jobs:
steps:
- uses: actions/checkout@v3
- run: |
# cd packages/chain-registry
# echo "test msg" > msg.txt
# cd ../../
cd packages/chain-registry
echo "test msg" > msg.txt
cd ../../
git config user.name "${{ github.actor }}"
git config user.email "${{ github.actor}}@users.noreply.github.com"
BRANCH_NAME="build-$(date +%Y%m%d-%H%M%S)"
Expand All @@ -20,6 +20,7 @@ jobs:
if ! git diff --staged --quiet; then
git commit -am "build 🛠 $BRANCH_NAME"
git push origin $BRANCH_NAME
gh pr create --base main --head $BRANCH_NAME --title "Automatic build 🛠 $BRANCH_NAME" --body "This is an auto-generated PR with build changes $BRANCH_NAME"
else
echo "No changes to commit."
fi
Expand Down

0 comments on commit b33732b

Please sign in to comment.