fix(github/workflows/bumper): typo

This commit is contained in:
sinanmohd
2025-01-29 12:46:11 +05:30
parent dfd9fa2618
commit 507e580e75
2 changed files with 6 additions and 6 deletions

View File

@@ -3,10 +3,10 @@ name: "bumper"
on: on:
push: push:
branches: branches:
- "devlop" - "develop"
pull_request_target: pull_request_target:
branches: branches:
- "devlop" - "develop"
jobs: jobs:
bumper: bumper:

View File

@@ -1,6 +1,6 @@
#!/bin/sh #!/bin/sh
commit_message="chore(nix/pacakge/pnpmDeps): bump hash" commit_message="chore(nix/package/pnpmDeps): bump hash"
commit_author="auto walle" commit_author="auto walle"
commit_email="auto@sinanmohd.com" commit_email="auto@sinanmohd.com"
package_path="nix/package.nix" package_path="nix/package.nix"
@@ -46,10 +46,10 @@ if [ ! -w "$package_path" ] || [ ! -r "$package_path" ]; then
fi fi
if early_escape_possible; then if early_escape_possible; then
echo "early escape suckcess : nix bump commit is newer" echo "early escape success : nix bump commit is newer"
exit 0 exit 0
else else
echo "early esacpe failuree : npm bump commit is newer, here we go again" echo "early esacpe failure : npm bump commit is newer, here we go again"
fi fi
fake_hash="sha256-0000000000000000000000000000000000000000000=" fake_hash="sha256-0000000000000000000000000000000000000000000="
@@ -67,6 +67,6 @@ if [ "$cur_hash" != "$new_hash" ]; then
git commit -m "$commit_message" git commit -m "$commit_message"
git push git push
else else
echo "hash staysss: waiting for your next commit" echo "hash did not change: waiting for your next commit"
hash_set "$cur_hash" hash_set "$cur_hash"
fi fi