Skip to content

Commit

Permalink
activating crons back
Browse files Browse the repository at this point in the history
  • Loading branch information
aorumbayev committed Jun 10, 2023
1 parent 2c019c7 commit ebdda8b
Show file tree
Hide file tree
Showing 6 changed files with 12 additions and 38 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/build_logic_mainnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Process building feature (MainNet)

on:
# schedule:
# - cron: "35 */2 * * *"
schedule:
- cron: "35 */2 * * *"
workflow_dispatch:

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/build_logic_testnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Process building feature (TestNet)

on:
# schedule:
# - cron: "35 */2 * * *"
schedule:
- cron: "35 */2 * * *"
workflow_dispatch:

concurrency:
Expand Down
30 changes: 2 additions & 28 deletions .github/workflows/build_rewards_mainnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Process building feature rewards (MainNet)

on:
# schedule:
# - cron: '0 0 * * *
schedule:
- cron: "0 0 * * *"
workflow_dispatch:

concurrency:
Expand Down Expand Up @@ -37,29 +37,3 @@ jobs:
- name: Send rewards
run: |
PYTHONPATH="." poetry run python src/aw_build/process_rewards.py
- name: setup git config
run: |
git config user.name "GitHub Actions Bot"
git config user.email "<>"
- name: Commit files
id: commit_files
if: always()
run: |
git config --local user.email "[email protected]"
git config --local user.name "github-actions[bot]"
if [ -n "$(git status --porcelain)" ]; then
git commit -m "chore(mainnet): build rewards timestamp 🤖" -a
echo "HAS_COMMITS=true" >> "$GITHUB_ENV"
else
echo "no changes - skipping "
echo "HAS_COMMITS=false" >> "$GITHUB_ENV"
fi
- name: Push changes
uses: ad-m/github-push-action@master
if: env.HAS_COMMITS != false
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: mainnet
4 changes: 2 additions & 2 deletions .github/workflows/core_logic_mainnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Process influence and packs (MainNet)

on:
# schedule:
# - cron: '5 * * * *'
schedule:
- cron: "5 * * * *"
workflow_dispatch:

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/core_logic_testnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Process influence and packs (TestNet)

on:
# schedule:
# - cron: '5 * * * *'
schedule:
- cron: "5 * * * *"
workflow_dispatch:

concurrency:
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/depost_swap_fees_to_pool_mainnet.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
name: Check swap fees wallet and deposit to AWT liquidity if threshold reached (MainNet)

on:
# schedule:
# - cron: '0 */7 * * *'
schedule:
- cron: "0 */7 * * *"
workflow_dispatch:

jobs:
Expand Down

0 comments on commit ebdda8b

Please sign in to comment.