diff --git a/.github/workflows/ci.yaml b/.github/workflows/ci.yaml index 280cd3e..5f300ce 100644 --- a/.github/workflows/ci.yaml +++ b/.github/workflows/ci.yaml @@ -1,7 +1,7 @@ name: CI on: push: - branches: [ master ] + branches: [ main ] pull_request: branches: [ $default-branch ] permissions: diff --git a/README.md b/README.md index e7ca1ec..fbe736a 100644 --- a/README.md +++ b/README.md @@ -2,7 +2,7 @@ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/) -[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml) +[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml) На русском? Смотри [README.ru.md](README.ru.md) @@ -23,19 +23,19 @@ Some features included in this bundle: - **Display "StandWithUkraine" banner** to show that your website stands united with the people of Ukraine. - ![Example of StandWithUkraine banner](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/banner.png) + ![Example of StandWithUkraine banner](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/banner.png) - **Block content** for users who have the **preferred language** in `Accept-Language` request header set to `ru`. Basically, affects people who read most of the content in Russian language. Users would be able to access the content only after changing their preferred language to any other language. They still can keep Russian language, but as a secondary one. - ![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png) + ![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png) - **Block content** for users who are trying to **get access from Russian IP addresses**, i.e. accessing the content from Russia. Users would be able to access the content only after connecting via a [VPN](https://en.wikipedia.org/wiki/Virtual_private_network) client choosing a location different from Russia region there. It makes things less convenient probably, but if you're using a good VPN client - you get better security, especially if you're connecting from public Wi-Fi spots or do not trust your internet provider. - ![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png) + ![Example of access denied page](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png) ## Installation diff --git a/README.ru.md b/README.ru.md index 5f38f05..7fdc74f 100644 --- a/README.ru.md +++ b/README.ru.md @@ -2,7 +2,7 @@ [![Stand With Ukraine](https://raw.githubusercontent.com/vshymanskyy/StandWithUkraine/main/banner2-direct.svg)](https://vshymanskyy.github.io/StandWithUkraine/) -[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=master)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml) +[![CI](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml/badge.svg?branch=main)](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/actions/workflows/ci.yaml) Speak English? See [README.md](README.md) @@ -23,19 +23,19 @@ Speak English? See [README.md](README.md) - **Показывать баннер "StandWithUkraine"**, чтобы показать, что ваш сайт солидарен с народом Украины. - ![Пример StandWithUkraine банера](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/banner.png) + ![Пример StandWithUkraine банера](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/banner.png) - **Блокировать контент** для пользователей, у которых **предпочтительный язык** в заголовке запроса `Accept-Language` установлен как `ru`. В основном это касается людей, которые читают бóльшую часть контента на русском языке. Пользователи смогут получить доступ к контенту только после изменения предпочитаемого языка на любой другой язык. Они все еще могут сохранить русский язык, но как второстепенный. - ![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png) + ![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png) - **Блокировать контент** для пользователей, которые пытаются **получить доступ с российских IP-адресов**, т.е. доступ к контенту из России. Пользователи смогут получить доступ к контенту только после подключения через [VPN](https://ru.wikipedia.org/wiki/VPN) клиент выбрав там местоположение, отличное от российского региона. Возможно это делает испольхование сайта менее удобными, но если вы используете хороший VPN клиент - вы получаете улучшенную безопасность, особенно если вы подключаетесь из общественных точек Wi-Fi или не доверяете своему интернет-провайдеру. - ![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/master/docs/images/access-denied.png) + ![Пример страницы с отказом в доступе](https://github.com/bocharsky-bw/stand-with-ukraine-bundle/blob/main/docs/images/access-denied.png) ## Установка