Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add additional permissions for backport workflow #10269

Merged
merged 1 commit into from
Mar 9, 2025

Conversation

cdce8p
Copy link
Member

@cdce8p cdce8p commented Mar 9, 2025

Backporting the release workflow improvements failed. E.g. #10267

  /usr/bin/git push --set-upstream origin backport-10267-to-maintenance/3.3.x
  To https://github.com/pylint-dev/pylint.git
   ! [remote rejected]     backport-10267-to-maintenance/3.3.x -> backport-10267-to-maintenance/3.3.x (refusing to allow a GitHub App to create or update workflow `.github/workflows/release.yml` without `workflows` permission)
  error: failed to push some refs to 'https://github.com/pylint-dev/pylint.git'

https://github.com/pylint-dev/pylint/actions/runs/13748264125/job/38445990683#step:2:32

Judging by the error message, the action needs additional permissions to update workflow files.

@cdce8p cdce8p added Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry backport maintenance/3.3.x labels Mar 9, 2025
@cdce8p cdce8p requested a review from Pierre-Sassoulas March 9, 2025 12:56
Copy link

codecov bot commented Mar 9, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 95.86%. Comparing base (42aa204) to head (f46af93).
Report is 15 commits behind head on main.

Additional details and impacted files

Impacted file tree graph

@@           Coverage Diff           @@
##             main   #10269   +/-   ##
=======================================
  Coverage   95.86%   95.86%           
=======================================
  Files         175      175           
  Lines       19068    19068           
=======================================
  Hits        18280    18280           
  Misses        788      788           
🚀 New features to boost your workflow:
  • Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@Pierre-Sassoulas Pierre-Sassoulas merged commit 1b2f300 into pylint-dev:main Mar 9, 2025
39 of 40 checks passed
github-actions bot pushed a commit that referenced this pull request Mar 9, 2025
(cherry picked from commit 1b2f300)
@cdce8p cdce8p deleted the backport-permissions branch March 9, 2025 13:11
@cdce8p cdce8p added this to the 3.3.6 milestone Mar 9, 2025
cdce8p added a commit that referenced this pull request Mar 9, 2025
(cherry picked from commit 1b2f300)

Co-authored-by: Marc Mueller <30130371+cdce8p@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport maintenance/3.3.x Maintenance Discussion or action around maintaining pylint or the dev workflow Skip news 🔇 This change does not require a changelog entry
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants