-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #2 from AngelsAndDemonsDM/texture_update
Texture update
- Loading branch information
Showing
14 changed files
with
212 additions
and
10 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
### Описание PR'ра | ||
<!-- Кратко опишите, какие изменения были внесены в этом PR и зачем данный PR нужен. --> | ||
<!-- Пример: В этом PR улучшена производительность системы за счет оптимизации алгоритма обработки данных. --> | ||
|
||
### Медиа | ||
<!-- Если возможно, добавьте изображения ваших изменений. Вы можете добавить изображение через ссылку или вставить его напрямую, если оно сохранено в буфере обмена. --> | ||
|
||
### Техническая информация | ||
- [ ] PR полностью завершён. | ||
- [ ] Мне **НЕ** нужна помощь для завершения PR. | ||
- [ ] Проверено на локальной машине. | ||
- [ ] Документация обновлена. <!-- при условии, что это применимо --> | ||
- [ ] Тесты обновлены / добавлены. <!-- при условии, что это применимо --> | ||
|
||
<!-- version_update: номер_версии --> | ||
<!-- Поле с указанием новой версии. Если не указано, будет использована версия из последнего changelog. --> | ||
|
||
<!-- autor: имя_автора --> | ||
<!-- Изменяет имя автора ченджлога. Если не указано, будет использовано имя пользователя GitHub. --> | ||
|
||
<!-- Здесь вы можете добавить любые дополнительные сведения, список задач, комментарии и прочее. Учтите, что раздел "### Изменения" должен идти последним. --> | ||
|
||
### Изменения | ||
<!-- Перечислите изменения, начиная каждое с новой строки и добавляя дефис перед каждым пунктом. Если после changes идёт NOT - ченджлог не создаётся--> | ||
changes: | ||
- Изменение 1: подробное описание изменения. | ||
- Изменение 2: подробное описание изменения. | ||
- Изменение 3: подробное описание изменения. |
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: Auto Assign | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
pull_request_target: | ||
types: [opened] | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.actor != 'themanyfaceddemon' }} | ||
|
||
permissions: | ||
issues: write | ||
pull-requests: write | ||
|
||
steps: | ||
- name: 'Auto-assign issue' | ||
uses: pozil/auto-assign-issue@v1 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
assignees: themanyfaceddemon | ||
numOfAssignee: 1 |
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,23 @@ | ||
name: Close PRs on master | ||
|
||
on: | ||
pull_request_target: | ||
types: [opened, ready_for_review] | ||
|
||
jobs: | ||
run: | ||
runs-on: ubuntu-latest | ||
if: ${{ github.head_ref == 'master' || github.head_ref == 'main' }} | ||
|
||
steps: | ||
- uses: superbrothers/close-pull-request@v3 | ||
with: | ||
comment: | | ||
Похоже, вы новичок в нашем репозитории и пытаетесь внести изменения из ветки master. | ||
Пожалуйста, прочитайте следующие гайды для правильной работы с репозиторием: | ||
- [Подготовка окружения](http://dmbotwiki.a0001.net/ru/guide/prepare-environment.html) | ||
- [Как создать форк](http://dmbotwiki.a0001.net/ru/guide/how-to-create-a-fork.html) | ||
- [Первые изменения](http://dmbotwiki.a0001.net/ru/guide/first-changes.html) | ||
Данный pull request будет закрыт, так как вы пытаетесь внести изменения из ветки master вашей локальной копии репозитория в ветку master основного репозитория. В будущем, пожалуйста, создавайте отдельные ветки для ваших изменений. |
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,38 @@ | ||
name: "Label new issues with 'Not sorted'" | ||
|
||
on: | ||
issues: | ||
types: [opened] | ||
|
||
jobs: | ||
add-label: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
issues: write | ||
|
||
steps: | ||
- name: Label new issues with "Not sorted" | ||
uses: actions/github-script@v6 | ||
with: | ||
github-token: ${{ secrets.GITHUB_TOKEN }} | ||
script: | | ||
const { owner, repo } = context.repo; | ||
const issue_number = context.issue.number; | ||
// Get issue details | ||
const { data: issue } = await github.rest.issues.get({ | ||
owner, | ||
repo, | ||
issue_number | ||
}); | ||
// Check if author is "themanyfaceddemon" | ||
if (issue.user.login !== "themanyfaceddemon" || issue.labels.length === 0) { | ||
await github.rest.issues.addLabels({ | ||
owner, | ||
repo, | ||
issue_number, | ||
labels: ["Issue: Not sorted"] | ||
}); | ||
} |
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,22 @@ | ||
name: "Set labels for PR" | ||
on: | ||
- pull_request_target | ||
|
||
jobs: | ||
labeler: | ||
runs-on: ubuntu-latest | ||
|
||
permissions: | ||
contents: read | ||
pull-requests: write | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set labels | ||
uses: actions/labeler@v5 | ||
with: | ||
repo-token: ${{ secrets.GITHUB_TOKEN }} | ||
configuration-path: .github/workflows_config/labeler.yml | ||
sync-labels: true |
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,38 @@ | ||
name: Tests | ||
|
||
on: | ||
push: | ||
branches: | ||
- master | ||
pull_request: | ||
branches: | ||
- master | ||
|
||
jobs: | ||
test: | ||
runs-on: ubuntu-latest | ||
|
||
steps: | ||
- name: Checkout repository | ||
uses: actions/checkout@v2 | ||
|
||
- name: Set up Python | ||
uses: actions/setup-python@v2 | ||
with: | ||
python-version: '3.x' | ||
|
||
- name: Install dependencies | ||
run: | | ||
python -m pip install --upgrade pip | ||
pip install -r requirements.txt | ||
- name: Set PYTHONPATH | ||
run: echo "PYTHONPATH=$PYTHONPATH:$(pwd)/Code" >> $GITHUB_ENV | ||
|
||
- name: Run tests | ||
timeout-minutes: 10 | ||
run: | | ||
python -m unittest discover -s Tests -p "*.py" -v -f | ||
env: | ||
pythonLocation: /opt/hostedtoolcache/Python/3.12.3/x64 | ||
LD_LIBRARY_PATH: /opt/hostedtoolcache/Python/3.12.3/x64/lib |
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,2 @@ | ||
"**/*": | ||
- themanyfaceddemon |
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,15 @@ | ||
"Changes: Unit test": | ||
- changed-files: | ||
- any-glob-to-any-file: ['Tests/**'] | ||
|
||
"Changes: Workflows": | ||
- changed-files: | ||
- any-glob-to-any-file: ['.github/workflows/**'] | ||
|
||
"Changes: Workflows config": | ||
- changed-files: | ||
- any-glob-to-any-file: ['.github/workflows_config/**'] | ||
|
||
"Changes: GitHub template": | ||
- changed-files: | ||
- any-glob-to-any-file: ['.github/ISSUE_TEMPLATE/**', '.github/PULL_REQUEST_TEMPLATE.md'] |
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 |
---|---|---|
|
@@ -21,7 +21,7 @@ venv.bak/ | |
|
||
# Data | ||
[Dd]ata/* | ||
Content/* | ||
Content/Servers/* | ||
|
||
# Texture | ||
Sprites/ | ||
|
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
File renamed without changes
File renamed without changes
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