Skip to content

Add Backport Usage#39

Open
lizard-boy wants to merge 1 commit into
mainfrom
add-backport-workflow
Open

Add Backport Usage#39
lizard-boy wants to merge 1 commit into
mainfrom
add-backport-workflow

Conversation

@lizard-boy

@lizard-boy lizard-boy commented Oct 19, 2024

Copy link
Copy Markdown

🎟️ Tracking

📔 Objective

Depends on bitwarden/gh-actions#305

📸 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

Greptile Summary

Added a new workflow file 'backport.yml' to automate the process of backporting pull requests based on issue comments.

  • Introduced .github/workflows/backport.yml to handle automated backporting of PRs
  • Utilizes a reusable workflow from bitwarden/gh-actions repository
  • Configures permissions for contents, issues, pull requests, and actions
  • Defines a custom PR description template for backported PRs

@greptile-apps greptile-apps Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

1 file(s) reviewed, 2 comment(s)
Edit PR Review Bot Settings | Greptile

Comment on lines +6 to +10
permissions:
contents: write
issues: write
pull-requests: write
actions: write

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

style: Permissions seem overly broad. Review and restrict to only necessary scopes

Comment on lines +14 to +15
# My Draft PR:
uses: bitwarden/gh-actions/.github/workflows/backport-base.yml@d0b8f4e649e45f844ee63787bba39a51ed6c9ff2

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

style: Remove or update the comment 'My Draft PR:' as it's not informative in the final version

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.

2 participants