Skip to content

Auto-flush GH Image Cache on new Tag#45

Merged
jakejackson1 merged 1 commit intomainfrom
gh-actions-badge-flush
Dec 12, 2022
Merged

Auto-flush GH Image Cache on new Tag#45
jakejackson1 merged 1 commit intomainfrom
gh-actions-badge-flush

Conversation

@jakejackson1
Copy link
Copy Markdown
Member

This will automatically clear the old badges from GitHub's image cache when a new release is tagged so outdated information isn't shown to users.

Pull Request type

Please check the type of change your PR introduces:

  • Bugfix
  • Feature
  • Code style update (formatting, renaming)
  • Refactoring (no functional changes, no API changes)
  • Build-related changes
  • Documentation content changes
  • Other (please describe):

What is the current behavior?

GitHub caches the README.md badges and these can be out of sync after tagging a new release.

Issue Number: N/A

What is the new behavior?

Automatically clear the GH image cache when pushing new Git Tag using new GitHub Action.

Does this introduce a breaking change?

  • Yes
  • No

This will automatically clear the old badges from GitHub's image cache when a new release is tagged so outdated information isn't shown to users.
@jakejackson1 jakejackson1 merged commit 4e7099c into main Dec 12, 2022
@jakejackson1 jakejackson1 deleted the gh-actions-badge-flush branch December 12, 2022 09:40
@github-actions github-actions Bot locked and limited conversation to collaborators Dec 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant