From d3474104fa09861f69db84278bcac69cd3c389b5 Mon Sep 17 00:00:00 2001 From: arka Date: Sun, 18 May 2025 21:53:38 -0300 Subject: [PATCH] - Badges Generation Workflow: added trigger on release pushes event to additional "master" branch `main` --- .github/workflows/gwy-badges.yml | 1 + CHANGELOG.md | 5 +++++ README.md | 13 +++++++++++++ 3 files changed, 19 insertions(+) diff --git a/.github/workflows/gwy-badges.yml b/.github/workflows/gwy-badges.yml index 99f8369..28b9b83 100644 --- a/.github/workflows/gwy-badges.yml +++ b/.github/workflows/gwy-badges.yml @@ -100,6 +100,7 @@ env: on: push: branches: + - main - master workflow_dispatch: diff --git a/CHANGELOG.md b/CHANGELOG.md index 578d14e..8a1885c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,11 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [1.0.0-beta.2] - XXXX-XX-XX +### Added + +- Badges Generation Workflow: added trigger on release + pushes event to additional "master" branch `main` + ### Fixed - Badges Generation Workflow: Fixed bug in "Issues" count badge, diff --git a/README.md b/README.md index 955285f..79cc75f 100644 --- a/README.md +++ b/README.md @@ -553,6 +553,19 @@ them in your documentation, getting updated automatically in your next release. You can also schedule a daily job to run the workflow, updating automatically all your count badges like `Downloads` and `Stars`. +By default, this workflow gets triggered automatically on push events to +popular "master" branches `master` and `main`. If you happen to have a +different one, you can customize your releases master branch name by editing +the following block inside the workflow file: + +``` +on: + push: + branches: + - main + - master +``` + Configure the badges target branch, the target directory within it and which of the available GitHub domains you want the urls to be generated with editing the variables at the top of the workflow `.github/workflows/gwy-badges.yml`,