Skip to content

Commit

Permalink
[Localization] Pulling New Localization Translations 907522444 (#11835)
Browse files Browse the repository at this point in the history
* [Tests] Fix intro tests on older macOS (#11736)


Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>

* Seeing if pushing to this lego branch will create a PR inside AutomatingLocalizationGHATest

* [Actions] Remove broken action. (#11819)

Actions that are triggered from forks do not have access to the secrets
making the action fail most of the time. We have moved to a github
action in the static page repo that will clean results of closed PRs
everyday. We remove this action because is broken and not needed.

* try again

* let's get the lego firing again

* fire lego #3

* see if test gha occurs

* trying after changing gha name

* changing the branch (#11826)

Co-authored-by: tj_devel709 <antlambe@microsoft.com>

* after changing the GHA in main

* perhaps the action was not updated yet

* after merge main

* wrong label

* fire

* adding sync to this branch

* fixing env variable

* conditionals in the wrong place

* add debugging

Co-authored-by: Manuel de la Pena <mandel@microsoft.com>
Co-authored-by: Rolf Bjarne Kvinge <rolf@xamarin.com>
Co-authored-by: tj_devel709 <antlambe@microsoft.com>
Co-authored-by: TJ Lambert <50846373+tj-devel709@users.noreply.github.com>
  • Loading branch information
5 people authored Jun 4, 2021
1 parent b9dcb49 commit cb9d513
Showing 1 changed file with 18 additions and 0 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/localization_branch_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,24 @@ on:
types: [closed]

jobs:
print_info:
name: 'Print Information'
runs-on: ubuntu-latest
steps:
- name: "Get Pull Request Status"
run: |
echo "${{ github.event.pull_request.merged }}"
- name: "Get Username"
run: |
echo "${{ github.event.pull_request.user.login }}"
- name: "Get if using Localization-bot label"
run: |
echo "${{ contains(github.event.pull_request.labels.*.names, 'localization_bot') }}"
- name: "FROM_LEGO"
run: |
echo "${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions' && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}"
delete_branch:
name: 'Delete Localization branch'
runs-on: ubuntu-latest
Expand Down

0 comments on commit cb9d513

Please sign in to comment.