mirror of
https://github.com/bitwarden/browser
synced 2025-12-31 07:33:23 +00:00
Extract and fix trigger for PR auto responses (Translation-PRs) (#3992)
* Extract and fix trigger for PR auto responses * Fix permission used for job
This commit is contained in:
committed by
GitHub
parent
0443c9acaa
commit
6851f406ef
24
.github/workflows/automatic-pull-request-responses.yml
vendored
Normal file
24
.github/workflows/automatic-pull-request-responses.yml
vendored
Normal file
@@ -0,0 +1,24 @@
|
||||
---
|
||||
name: Automatic pull request responses
|
||||
on:
|
||||
pull_request:
|
||||
types:
|
||||
- labeled
|
||||
jobs:
|
||||
close-issue:
|
||||
name: 'Close pull request with automatic response'
|
||||
runs-on: ubuntu-20.04
|
||||
permissions:
|
||||
pull-requests: write
|
||||
steps:
|
||||
# Translation PR / Crowdin
|
||||
- if: github.event.label.name == 'translation-pr'
|
||||
name: Translation-PR
|
||||
uses: peter-evans/close-issue@849549ba7c3a595a064c4b2c56f206ee78f93515 # v2.0.0
|
||||
with:
|
||||
comment: |
|
||||
We really appreciate you taking the time to improve our translations.
|
||||
|
||||
However we use a translation tool called [Crowdin](https://crowdin.com/) to help manage our localization efforts across many different languages. Our translations can only be updated using Crowdin, so we'll have to close this PR, but would really appreciate if you'd consider joining our awesome translation community over at Crowdin.
|
||||
|
||||
More information can be found in the [localization section](https://contributing.bitwarden.com/contributing/#localization-l10n) of our [Contribution Guidelines](https://contributing.bitwarden.com/contributing/)
|
||||
Reference in New Issue
Block a user