-
-
Notifications
You must be signed in to change notification settings - Fork 646
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into LanguageUtil_improve
# Conflicts: # app/src/main/java/org/wikipedia/language/LanguageUtil.kt # app/src/test/java/org/wikipedia/language/LanguageUtilTest.java
- Loading branch information
Showing
382 changed files
with
12,177 additions
and
6,072 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
name: Post to Phabricator | ||
|
||
on: | ||
pull_request: | ||
types: [opened, closed] | ||
|
||
jobs: | ||
post_to_phab: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Post to Phabricator when pull request is opened or closed | ||
if: ${{ github.event_name == 'pull_request' && (github.event.action == 'opened' || github.event.action == 'closed') }} | ||
env: | ||
PR_BODY: ${{ github.event.pull_request.body }} | ||
run: | | ||
message="${{ github.actor }} ${{ github.event.action }} ${{ github.event.pull_request._links.html.href }}" | ||
echo -e "${PR_BODY}" | grep -oEi "(^Bug:\s*T[0-9]+)|(^([*]*phabricator[*]*:[*]*\s*)?https:\/\/phabricator\.wikimedia\.org\/T[0-9]+)" | grep -oEi "T[0-9]+" | while IFS= read -r line; do | ||
echo "Processing: $line" | ||
curl https://phabricator.wikimedia.org/api/maniphest.edit \ | ||
-d api.token=${{ secrets.PHAB_BOT_API_KEY }} \ | ||
-d transactions[0][type]=comment \ | ||
-d transactions[0][value]="${message}" \ | ||
-d objectIdentifier=${line} | ||
done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# See: https://git-scm.com/docs/git-shortlog#_mapping_authors | ||
# | ||
Brooke Vibber <[email protected]> | ||
Brooke Vibber <[email protected]> <[email protected]> | ||
Brooke Vibber <[email protected]> <[email protected]> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.