generated from NEARBuilders/project-template
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* remove constant check connection * refactor * working modes * toggle works * error handling drafts * tooltip * cleanup * show notice once * thanks DMO * near rewards * oauth client * callback error handling * adds toast * remove test * drafts modal * fmt * drafts modal wip * thread mode not available * og image * textarea * clean up handles * twitter post error handling * twitter toasts * buttons * character count handling * donate button * consistent modal * profile * helper buddy * cleanup * clean up * feature request * fmt * add submit * fixes
- Loading branch information
1 parent
be57adb
commit de72a1a
Showing
43 changed files
with
2,343 additions
and
496 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
name: NEAR Protocol Rewards Tracking | ||
on: | ||
schedule: | ||
- cron: '0 */12 * * *' # Every 12 hours | ||
workflow_dispatch: # Manual trigger | ||
push: | ||
branches: [ main ] # Start on main branch updates | ||
|
||
jobs: | ||
calculate-rewards: | ||
runs-on: ubuntu-latest | ||
permissions: | ||
contents: read | ||
issues: read | ||
pull-requests: read | ||
steps: | ||
- uses: actions/checkout@v3 | ||
- uses: actions/setup-node@v3 | ||
with: | ||
node-version: '18' | ||
|
||
- name: Calculate Rewards | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
GITHUB_REPO: ${{ github.repository }} | ||
run: | | ||
npm install -g near-protocol-rewards@latest | ||
near-protocol-rewards calculate |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.