midas-network / midas-data

An ontology for MIDAS data types
1 stars 4 forks source link

Automate Midas ontology release pipeline #46

Closed matentzn closed 1 year ago

matentzn commented 1 year ago

replaces #45

You basically have to merge this @hoganwr then go to the repo settings, and in the repos setting, allow actions to write information:

image

I don't know if the pipeline will run all by itself the moment you merge, lets see.

After that every time the edit file or an import changes, the release pipeline is triggered.

If you want to test it in a safer environment:

Use your fork!

hoganwr commented 1 year ago

Nico, Thanks! I tried it in my fork and it works. I also made an edit on your fork (sorry about that), and because there was already a release it failed. So one thing to note is to only edit once per day. We don't update this file that much so one edit session per day is fine.

On Thu, Jun 8, 2023 at 8:00 AM Nico Matentzoglu @.***> wrote:

replaces #45 https://github.com/midas-network/midas-data/pull/45

You basically have to merge this @hoganwr https://github.com/hoganwr then go to the repo settings, and in the repos setting, allow actions to write information: [image: image] https://user-images.githubusercontent.com/7070631/244374680-5884a109-a7f3-4af6-b0c8-43a2e272505a.png

I don't know if the pipeline will run all by itself the moment you merge, lets see.

After that every time the edit file or an import changes, the release pipeline is triggered.

If you want to test it in a safer environment:

Use your fork!

You can view, comment on, or merge this pull request online at:

https://github.com/midas-network/midas-data/pull/46 Commit Summary

File Changes

(9 files https://github.com/midas-network/midas-data/pull/46/files)

Patch Links:

— Reply to this email directly, view it on GitHub https://github.com/midas-network/midas-data/pull/46, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAJR55TRJROLF2P3KQDJTJ3XKG5G3ANCNFSM6AAAAAAY7GFMR4 . You are receiving this because you were mentioned.Message ID: @.***>

matentzn commented 1 year ago

Exactly, this is the downside of this approach! If it turns out to be an issue, you can also simply reactive the automation and have it, instead, be triggered manually by the click of a two buttons (on https://github.com/midas-network/midas-data/actions, you would click on the workflow and on "Run Workflow"). I would try to see how you get on with the automated system for now!

matentzn commented 1 year ago

Let me know what you need in terms of documentation, and where to put it for this repo.

hoganwr commented 1 year ago

I think just basic release workflow documentation, and the usual place: markdown files in src/docs? Does that sound ok?

matentzn commented 1 year ago

Ok you can merge this here, I will provide documentation in a separate PR.