Files
FURK4NGG.github.io/.github/workflows/update_nonce.yml
T
Workflow config file is invalid. Please check your config file: model.ReadWorkflow: yaml: line 15: mapping values are not allowed in this context
2025-03-18 21:42:05 +03:00

24 lines
653 B
YAML
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
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