We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cd0c816 commit da8e50bCopy full SHA for da8e50b
.github/workflows/near-rewards.yml
@@ -0,0 +1,20 @@
1
+name: NEAR Protocol Rewards Tracking
2
+on:
3
+ schedule:
4
+ - cron: '0 */12 * * *' # Every 12 hours
5
+ workflow_dispatch: # Manual trigger
6
+ push:
7
+ branches: [develop] # Start on develop branch updates
8
+jobs:
9
+ track-metrics:
10
+ runs-on: ubuntu-latest
11
+ steps:
12
+ - uses: actions/checkout@v3
13
+ - uses: actions/setup-node@v3
14
+ with:
15
+ node-version: '18'
16
+ - name: Run Metrics Collection
17
+ env:
18
+ GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19
+ GITHUB_REPO: ${{ github.repository }}
20
+ run: npx near-protocol-rewards track
0 commit comments