From 5829aa84256547b20823fa7d9b192e33a606a3b3 Mon Sep 17 00:00:00 2001 From: FURK4NGG <105324908+FURK4NGG@users.noreply.github.com> Date: Tue, 18 Mar 2025 21:42:05 +0300 Subject: [PATCH] Create update_nonce.yml --- .github/workflows/update_nonce.yml | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .github/workflows/update_nonce.yml diff --git a/.github/workflows/update_nonce.yml b/.github/workflows/update_nonce.yml new file mode 100644 index 0000000..07d942a --- /dev/null +++ b/.github/workflows/update_nonce.yml @@ -0,0 +1,23 @@ +name: Günlük Nonce Güncellemesi + +on: + schedule: + - cron: '0 * * * *' # Her saat başı çalıştırır + +jobs: + update-nonce: + runs-on: ubuntu-latest + steps: + - name: Depoyu Klonla + uses: actions/checkout@v3 + + - name: Rastgele Nonce Üret + run: echo "{ \"nonce\": \"$(openssl rand -hex 8)\" }" > nonce.json + + - name: Değişiklikleri Commitle ve Pushla + run: | + git config --global user.name "github-actions[bot]" + git config --global user.email "github-actions[bot]@users.noreply.github.com" + git add nonce.json + git commit -m "Nonce güncellendi" + git push