18 Commits

Author SHA1 Message Date
Przemek Rzad ccbe03ed54 Handle filenames with whitespaces in the RFC book (#115)
With a recent PR that has spaces in the RFC filename, the RFC book
generation script started failing - this fixes it.
2024-08-20 22:05:12 +12:00
Javier Bullrich dde721f16f rfc-cron: updated cron to v0.1.1 (#83)
When doing #80 I got confused and updated the wrong action (which uses
the same dependency).

This one updates the RFC action for the cron job

---

When a RFC closes after the last run, it will comment on the open PR (if
it is still open) that the RFC has been closed and how to trigger the
bot to merge the PR.

If it is succesfull, we can automate it to simply close the PRs without
human input.

### Miscellaneous changes

- Also, updated cron job to run at mid day and at end of the day so we
can capture new RFCs more often.
- `v0.1.1` also has a fix for a problem with LFS files not being
downloaded by the GitHub Actions that was discovered and fixed in
paritytech/rfc-action#37 by @rzadp.
2024-03-11 22:43:29 +01:00
Przemek Rzad 74c204191f Update rfc-action to v0.1.1 (#81)
Fixes an issue with inadvertent move to LFS (was supposed to be a diff
change only).
2024-03-08 09:11:26 +01:00
Javier Bullrich 99e179cbc1 updated rfc-action to 0.1.0 (inform on closed referendas) (#80)
This includes https://github.com/paritytech/rfc-action/pull/34 which
takes into consideration successful RFCs.

When a RFC closed after the last run, it will comment on the open PR (if
it is still open) that the RFC has been closed and how to trigger the
bot to merge the PR.

If it is succesfull, we can automate it to simply close the PRs without
human input.

Also, updated actions/create-github-app-token to latest (version
`1.8.1`)
2024-03-04 08:49:55 +01:00
Javier Bullrich bcca93886c fixed rfc-action cron job (#75)
Changed the time to run **every day at 12:00** (UTC)

Updated the version to 0.0.8 which fixes the bug with the referenda url
comment being wrongly formatted
2024-02-16 12:49:31 +01:00
Przemek Rzad 5710c49dc9 mdBook: Strip down links in RFCs titles (#72)
- Closes https://github.com/polkadot-fellows/RFCs/issues/71
- This affects only the sidebar of the mdBook.

![Screenshot 2024-01-31 at 12 39
38](https://github.com/polkadot-fellows/RFCs/assets/12039224/715f1856-1bf4-48be-9669-e3487c732658)
2024-02-12 16:28:41 +01:00
Javier Bullrich 34d26ff1aa Fixed issue with RFC-Cron (#69)
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)
2024-01-25 13:53:19 +01:00
Javier Bullrich fbab2fbd22 Added RFC cron job (#68)
Added RFC Cron job which will iterate over existing referendas and post
a link to them in the open Pull Requests.

This resolves polkadot-fellows/RFCs#57

Every time it iterates, it looks for referendas that have been submitted
_after_ the time of the last run, to stop itself from posting duplicated
comments.

It is set to run every day at 12, and it can also be triggered manually.
2024-01-24 15:41:39 -06:00
Przemek Rzad 785a3187ee Reorder RFCs in the mdBook (#65)
Reorder RFCs in the mdBook as suggested
[here](https://github.com/polkadot-fellows/RFCs/pull/60#issuecomment-1883013694).

cc @wirednkod
2024-01-18 22:25:13 +01:00
Przemek Rzad ade390b5ef Update rfc-action to v0.0.6 (#64)
Contains improved error handling as a response to [this
failure](https://github.com/polkadot-fellows/RFCs/pull/56#issuecomment-1869403989).
2024-01-09 14:54:26 +00:00
Przemek Rzad f94ab697e5 Introduce RFC mdBook web page (#60)
- Closes https://github.com/polkadot-fellows/RFCs/issues/53
- Preview available [here](https://paritytech.github.io/RFCs/).

![Screenshot 2023-12-19 at 13 55
05](https://github.com/polkadot-fellows/RFCs/assets/12039224/ee06a7ad-231e-4077-a773-c6319661dfb6)


---

### What it does

- The workflow gathers the source markdown files of RFCs - approved
ones, and proposed ones (from open PRs).
- The proposed RFCs are separated into new (<7 days since PR created)
and stale (>30 days since PR updated).
- The RFCs are extended with a table of contents, and a link to the
source.
- The RFCs are build into a web page using
[mdBook](https://github.com/rust-lang/mdBook).
- The built web page gets pushed to `gh-pages` branch - to be published
in Github Pages.
- The workflow is triggered on merge to `main`, and periodically once a
day.
2024-01-03 20:05:00 +01:00
Przemek Rzad f50e9c26c8 Update rfc-action to v0.0.5 (#40)
It changes the merging method from REST github API to graphql, which contains more information when failing.
2023-10-24 14:28:31 +02:00
Przemek Rzad 58d7c0e634 Update rfc-action.yml (#39) 2023-10-23 14:56:57 +02:00
Przemek Rzad 72908bdc19 Update rfc-action.yml (#38) 2023-10-17 15:44:30 +02:00
Przemek Rzad 1a96422319 Update rfc-action.yml (#37) 2023-10-16 23:10:17 +02:00
Przemek Rzad 5bdc6f85f1 Update rfc-action.yml (#30) 2023-09-13 15:37:41 +02:00
Przemek Rzad 9e70d54727 Update the RFC bot/action (#29)
* Use rfc action v0.0.2

* Readme
2023-09-13 12:04:41 +02:00
Przemek Rzad be62793686 Create rfc-propose.yml (#24) 2023-08-31 15:27:30 +02:00