Skip to content

Commit

Permalink
[Localization] Pulling New Localization Translations 907570846 (#11837)
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

* more debugging

* changing the label requirement for the tests

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 4bd27d3 commit 8d6f497
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/localization_branch_sync.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ jobs:
runs-on: ubuntu-latest
env:
# We want to do the sync if we merged the pull request, the author was 'github-actions', and it has the correct label
FROM_LEGO: ${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]' && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}
FROM_LEGO: ${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]' }} # && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}
steps:
- uses: dawidd6/action-delete-branch@v3
name: 'delete'
Expand All @@ -48,7 +48,7 @@ jobs:
runs-on: ubuntu-latest
needs: delete_branch
env:
FROM_LEGO: ${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions' && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}
FROM_LEGO: ${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]' }} # && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}
steps:
- uses: actions/checkout@v2
name: 'checkout'
Expand All @@ -62,7 +62,7 @@ jobs:
runs-on: ubuntu-latest
needs: checkout_localization_branch
env:
FROM_LEGO: ${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions' && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}
FROM_LEGO: ${{ github.event.pull_request.merged == true && github.event.pull_request.user.login == 'github-actions[bot]' }} # && contains(github.event.pull_request.labels.*.names, 'localization_bot') }}
steps:
- uses: ad-m/github-push-action@master
name: push
Expand Down

0 comments on commit 8d6f497

Please sign in to comment.