Skip to content

Commit

Permalink
Fixed issue with RFC-Cron (#69)
Browse files Browse the repository at this point in the history
It was improperly set to run every minute after 11. I changed it to run
every weekday only once after 12.

Also, added status badge for the job in the Readme so we can preview
there that the job is running:
[![RFC
Cron](https://github.com/polkadot-fellows/RFCs/actions/workflows/rfc-referenda-notifications.yml/badge.svg)](https://github.com/polkadot-fellows/RFCs/actions/workflows/rfc-referenda-notifications.yml)
  • Loading branch information
Bullrich authored Jan 25, 2024
1 parent efc6b7a commit 34d26ff
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/rfc-referenda-notifications.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,12 @@ name: RFC Cron
on:
workflow_dispatch:
schedule:
- cron: '* 11 * * *'
- cron: '0 12 * * 1,2,3,4,5'

jobs:
test_run:
rfc_notification:
runs-on: ubuntu-latest
name: Notify on referendas
steps:
- name: Get last run
run: |
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,8 @@ Problems, requirements, and descriptions in RFC text should be stated using the

## Bots

[![RFC Cron](https://github.com/polkadot-fellows/RFCs/actions/workflows/rfc-referenda-notifications.yml/badge.svg)](https://github.com/polkadot-fellows/RFCs/actions/workflows/rfc-referenda-notifications.yml)

The repository provides a bot for:

* Proposing RFCs on chain in a referenda to let the fellowship vote on the RFC. The referenda can only be created by accounts that are part of the fellowship.
Expand Down

0 comments on commit 34d26ff

Please sign in to comment.