Add Gitea Actions link #76

Closed
asriel wants to merge 1 commits from asriel/awesome-gitea:master into main
First-time contributor

Made this little script to add GitHub Actions integration into Gitea's API. I figured it'd be useful for others, so I wanted to add a link to it here. If you have any gripes with it, I can improve the implementation if need be.

Example Screenshot

Made this little script to add GitHub Actions integration into Gitea's API. I figured it'd be useful for others, so I wanted to add a link to it here. If you have any gripes with it, I can improve the implementation if need be. ![Example Screenshot](/attachments/87827789-b429-45c4-9d03-60ed1629e201)
asriel added 1 commit 2022-05-01 08:14:09 +00:00
Owner

I have reviewed the python script but don't know how it works.

I have reviewed the python script but don't know how it works.
Author
First-time contributor

Yeah, it might be best to accompany it with a list of instructions perhaps?

That python script is to run in the background as a daemon, and I provide a simple systemd .service file that I use. To set it up, you create a webhook for your repository pointing to the http server, and check the workflow jobs box to have the webhook only trigger for workflows/actions. When a new workflow is run, the server recieves the webhook and sends the appropriate API call to the Gitea repo.

Yeah, it might be best to accompany it with a list of instructions perhaps? That python script is to run in the background as a daemon, and I provide a simple systemd .service file that I use. To set it up, you create a webhook for your repository pointing to the http server, and check the workflow jobs box to have the webhook only trigger for workflows/actions. When a new workflow is run, the server recieves the webhook and sends the appropriate API call to the Gitea repo.
Owner

So is this used in conjunction with a push mirror?

Do you have an example of this running somewhere publicly?
I'm fairly sure I know how it works, but not sure what kicks it off, since this seems to originate from GitHub and this script essentially mirrors the status over to a Gitea instance.

So is this used in conjunction with a push mirror? Do you have an example of this running somewhere publicly? I'm fairly sure I know how it works, but not sure what kicks it off, since this seems to originate from GitHub and this script essentially mirrors the status over to a Gitea instance.
Author
First-time contributor

Yep, I use a push mirror in order to have GitHub actually recieve the commits. You can see me using it on Gitea here and on GitHub here.

Yep, I use a push mirror in order to have GitHub actually recieve the commits. You can see me using it on Gitea [here](https://git.camora.dev/asriel/L4) and on GitHub [here](https://github.com/WorkingRobot/L4).
Owner

@asriel I think this should not be a gist but a repo with a Readme that explain how to setup :)

@asriel I think this should not be a gist but a repo with a Readme that explain how to setup :)
Owner

name would collide with gitea feature ...

name would collide with gitea feature ...
6543 closed this pull request 2023-03-21 02:56:15 +00:00

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
4 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: gitea/awesome-gitea#76
No description provided.