From bf36a513d5f283364d32271bf8f8f66334472409 Mon Sep 17 00:00:00 2001 From: Evstigneev Denis Date: Mon, 29 Dec 2025 11:47:43 +0300 Subject: [PATCH] upd job_sync && add gitignore --- .github/workflows/job_sync.yml | 2 +- .gitignore | 39 ++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 1 deletion(-) create mode 100644 .gitignore diff --git a/.github/workflows/job_sync.yml b/.github/workflows/job_sync.yml index dac3f14..f2a755b 100644 --- a/.github/workflows/job_sync.yml +++ b/.github/workflows/job_sync.yml @@ -25,7 +25,7 @@ jobs: dst_hash=$(git ls-remote ${GITHUB_SERVER_URL}/${GITHUB_REPOSITORY} refs/heads/master | cut -f1) echo "src_hash=$src_hash" echo "dst_hash=$dst_hash" - if [ "$src_hash" != "$dst_hash" ]; then + if [ "$src_hash" != "$dst_hash" -a "$src_hash" != "" -a "$dst_hash" != "" ]; then echo "sync_needed=true" >> $GITHUB_OUTPUT else echo "sync_needed=false" >> $GITHUB_OUTPUT diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..ad367ea --- /dev/null +++ b/.gitignore @@ -0,0 +1,39 @@ +# Develop tools +/.vscode/ +/.idea/ +.idea +.vscode + +# Binaries for programs and plugins +*.exe +*.exe~ +*.dll +*.so +*.dylib + +# Folders +_obj +_test +_build +.DS_Store + +# Architecture specific extensions/prefixes +*.[568vq] +[568vq].out + +*.cgo1.go +*.cgo2.c +_cgo_defun.c +_cgo_gotypes.go +_cgo_export.* + +# Test binary, build with `go test -c` +*.test + +# Output of the go coverage tool, specifically when used with LiteIDE +*.out + +# vim temp files +*~ +*.swp +*.swo \ No newline at end of file -- 2.49.1