mirror of
https://github.com/nektos/act.git
synced 2026-04-26 09:25:54 +03:00
[PR #1592] [MERGED] feat: cache notices to reduce frequency of upgrade notifications #2019
Labels
No labels
area/action
area/cli
area/docs
area/image
area/runner
area/workflow
backlog
confirmed/not-planned
kind/bug
kind/discussion
kind/external
kind/feature-request
kind/question
meta/duplicate
meta/invalid
meta/need-more-info
meta/resolved
meta/wontfix
meta/workaround
needs-work
pull-request
review/not-planned
size/M
size/XL
size/XXL
stale
stale-exempt
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/act#2019
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/nektos/act/pull/1592
Author: @cplee
Created: 2/1/2023
Status: ✅ Merged
Merged: 2/2/2023
Merged by: @cplee
Base:
master← Head:cache-notices📝 Commits (4)
2634384feat: cache notices to reduce frequency of upgrade notificationscc45b96fix: reduce WriteFile permissions437d5d6fix: remove reference to deprecated lib4e291e0fix: handle HTTP status 304📊 Changes
1 file changed (+61 additions, -1 deletions)
View changed files
📝
cmd/notices.go(+61 -1)📄 Description
Look for
ETagheader when checking for upgrade notices and store that value in~/.cache/act/.notices.etag. Use that value asIf-None-Matchheader to perform conditional GET request.🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.