[PR #6165] [MERGED] [PM-27181] - Grant additional permissions for review code #86209

Closed
opened 2026-05-22 23:26:06 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/bitwarden/android/pull/6165
Author: @theMickster
Created: 11/13/2025
Status: Merged
Merged: 11/13/2025
Merged by: @theMickster

Base: mainHead: ai/review-code-permission-update


📝 Commits (1)

  • 8f4cf4e [PM-27181] - Grant additional permissions for review code

📊 Changes

1 file changed (+1 additions, -0 deletions)

View changed files

📝 .github/workflows/review-code.yml (+1 -0)

📄 Description

🎟️ Tracking

https://bitwarden.atlassian.net/browse/PM-27181
https://bitwarden.atlassian.net/browse/BRE-1331

📔 Objective

Grant additional permissions for the reusable review workflow to ensure that we can also execute the reusable workflow in private repos.

Order matters when updating because:

  1. If you add a required permission to the reusable workflow definition without callers having it, those workflows will fail
  2. Callers can grant more permissions than the reusable workflow requires without breaking
  3. Reusable workflows cannot grant themselves permissions - they can only use what the caller provides

Further information on proper permissions found below

  1. Reuse Workflow - GitHub
  2. Workflow syntax for GitHub Actions

📸 Screenshots

Reminders before review

  • Contributor guidelines followed
  • All formatters and local linters executed and passed
  • Written new unit and / or integration tests where applicable
  • Protected functional changes with optionality (feature flags)
  • Used internationalization (i18n) for all UI strings
  • CI builds passed
  • Communicated to DevOps any deployment requirements
  • Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team

🦮 Reviewer guidelines

  • 👍 (:+1:) or similar for great changes
  • 📝 (:memo:) or ℹ️ (:information_source:) for notes or general info
  • (:question:) for questions
  • 🤔 (:thinking:) or 💭 (:thought_balloon:) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion
  • 🎨 (:art:) for suggestions / improvements
  • (:x:) or ⚠️ (:warning:) for more significant problems or concerns needing attention
  • 🌱 (:seedling:) or ♻️ (:recycle:) for future improvements or indications of technical debt
  • ⛏ (:pick:) for minor or nitpick changes

🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/bitwarden/android/pull/6165 **Author:** [@theMickster](https://github.com/theMickster) **Created:** 11/13/2025 **Status:** ✅ Merged **Merged:** 11/13/2025 **Merged by:** [@theMickster](https://github.com/theMickster) **Base:** `main` ← **Head:** `ai/review-code-permission-update` --- ### 📝 Commits (1) - [`8f4cf4e`](https://github.com/bitwarden/android/commit/8f4cf4e33e214af2c727c555ee1cf1b6dcd4f291) [PM-27181] - Grant additional permissions for review code ### 📊 Changes **1 file changed** (+1 additions, -0 deletions) <details> <summary>View changed files</summary> 📝 `.github/workflows/review-code.yml` (+1 -0) </details> ### 📄 Description ## 🎟️ Tracking https://bitwarden.atlassian.net/browse/PM-27181 https://bitwarden.atlassian.net/browse/BRE-1331 ## 📔 Objective Grant additional permissions for the reusable review workflow to ensure that we can also execute the reusable workflow in private repos. Order matters when updating because: 1. If you add a required permission to the reusable workflow definition without callers having it, those workflows will fail 2. Callers can grant more permissions than the reusable workflow requires without breaking 3. Reusable workflows cannot grant themselves permissions - they can only use what the caller provides Further information on proper permissions found below 1. [Reuse Workflow - GitHub](https://docs.github.com/en/actions/how-tos/reuse-automations/reuse-workflows#supported-keywords-for-jobs-that-call-a-reusable-workflow) 2. [Workflow syntax for GitHub Actions](https://docs.github.com/en/actions/reference/workflows-and-actions/workflow-syntax#jobsjob_idpermissions) ## 📸 Screenshots ## ⏰ Reminders before review - Contributor guidelines followed - All formatters and local linters executed and passed - Written new unit and / or integration tests where applicable - Protected functional changes with optionality (feature flags) - Used internationalization (i18n) for all UI strings - CI builds passed - Communicated to DevOps any deployment requirements - Updated any necessary documentation (Confluence, contributing docs) or informed the documentation team ## 🦮 Reviewer guidelines <!-- Suggested interactions but feel free to use (or not) as you desire! --> - 👍 (`:+1:`) or similar for great changes - 📝 (`:memo:`) or ℹ️ (`:information_source:`) for notes or general info - ❓ (`:question:`) for questions - 🤔 (`:thinking:`) or 💭 (`:thought_balloon:`) for more open inquiry that's not quite a confirmed issue and could potentially benefit from discussion - 🎨 (`:art:`) for suggestions / improvements - ❌ (`:x:`) or ⚠️ (`:warning:`) for more significant problems or concerns needing attention - 🌱 (`:seedling:`) or ♻️ (`:recycle:`) for future improvements or indications of technical debt - ⛏ (`:pick:`) for minor or nitpick changes --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-05-22 23:26:06 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/android#86209