Skip to content
Discussion options

You must be logged in to vote

You're right that FUNDING.yml is only for the Sponsor button. The path in the error is the clue: .github/workflows/FUNDING.yml.

GitHub Actions treats every .yml/.yaml file inside .github/workflows/ as a workflow definition, regardless of its name. A funding file has no on: or jobs: keys, so Actions tries to load it on each push, finds nothing to run, and reports a failed run with "No jobs were run".

The fix is to move the file up one level:

git mv .github/workflows/FUNDING.yml .github/FUNDING.yml
git commit -m "Move FUNDING.yml out of workflows"
git push

.github/FUNDING.yml on the default branch is the location the Sponsor button reads from, so the button keeps working and the failed run…

Replies: 3 comments 2 replies

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
2 replies
@kzhdev
Comment options

@al-dioooo
Comment options

Answer selected by kzhdev
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug GitHub or a GitHub feature is not working as intended Actions Build, test, and automate your deployment pipeline with world-class CI/CD ARC (Actions Runner Controller) For issues and discussions related to the Actions Runner Controller project Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates
3 participants