Change Travis CI badge in Readme to GitHub Actions
Closed this issue · 2 comments
The build passing badge is old and probably isn't pointing to anything useful anymore.
Don't remember when I switched to GitHub Actions but there is probably a way to link the badge to the latest main branch build result.
The badge link should work in a way that makes sense for forks of the repo.
https://docs.github.com/en/actions/monitoring-and-troubleshooting-workflows/adding-a-workflow-status-badge has the examples

and

for an example where the owner is github and the repository name is docs, so I would guess that you can convert your existing line of
## Current status [](https://travis-ci.com/afritz1/OpenTESArena)
to
## Current status [
I'm not sure what you mean by "The badge link should work in a way that makes sense for forks of the repo.", but I assume the line above would point to the latest build on the main branch result for your repository, not the result for build of a fork. My fork of OpenTESArena with the current ## Current status [](https://travis-ci.com/afritz1/OpenTESArena) line seems to point to the result for your repository, not my fork of it. (By the way, clicking the badge currently will bring you to a "404 Page or file not found" on the Travis CI site)
I played around with it some and I'll probably use this:
[](https://github.com/afritz1/OpenTESArena/actions)The fork part was just me remembering forks in the past had links that could've pointed to their own repo (like putting README.txt as the link - GitHub would resolve it for that repo), but pointed back to mine instead. I don't think forks can have their own GitHub Actions but I could be wrong.
Thanks for looking this stuff up Allofich!