Skip to content

Fixing Weekly Tests Workflow on Released Branches#3045

Merged
madolson merged 1 commit intovalkey-io:unstablefrom
sarthakaggarwal97:fix-weekly
Jan 12, 2026
Merged

Fixing Weekly Tests Workflow on Released Branches#3045
madolson merged 1 commit intovalkey-io:unstablefrom
sarthakaggarwal97:fix-weekly

Conversation

@sarthakaggarwal97
Copy link
Contributor

@sarthakaggarwal97 sarthakaggarwal97 commented Jan 12, 2026

The patch fixes the error by adding pull‑requests: write to the permissions block of weekly.yml. Github rejects if the reusable workflow's (here daily.yml) permissions are not provided.

We recently changed the permissions in daily.yml where we gave write permissions in #2907
With this change, we bring parity to the permissions since weekly.yml uses calls daily.yml workflow call method.

Fixes: https://github.com/valkey-io/valkey/actions/runs/20890545320

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
@codecov
Copy link

codecov bot commented Jan 12, 2026

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 74.17%. Comparing base (f0d9810) to head (c025ae9).
⚠️ Report is 2 commits behind head on unstable.

Additional details and impacted files
@@             Coverage Diff              @@
##           unstable    #3045      +/-   ##
============================================
- Coverage     74.25%   74.17%   -0.08%     
============================================
  Files           129      129              
  Lines         70988    70988              
============================================
- Hits          52712    52656      -56     
- Misses        18276    18332      +56     

see 18 files with indirect coverage changes

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copy link
Member

@roshkhatri roshkhatri left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, this would allow the weekly wf to run the daily.yml

@madolson madolson merged commit 33a1b51 into valkey-io:unstable Jan 12, 2026
22 of 25 checks passed
harrylin98 pushed a commit to harrylin98/valkey_forked that referenced this pull request Feb 19, 2026
The patch fixes the error by adding `pull‑requests: write` to the
permissions block of `weekly.yml`. Github rejects if the reusable
workflow's (here daily.yml) permissions are not provided.

We recently changed the permissions in `daily.yml` where we gave write
permissions in valkey-io#2907
With this change, we bring parity to the permissions since `weekly.yml`
uses calls `daily.yml` workflow call method.

Fixes: https://github.com/valkey-io/valkey/actions/runs/20890545320

Signed-off-by: Sarthak Aggarwal <sarthagg@amazon.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants