mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-22 20:44:15 +00:00
commit
be9ec5a329
4
.github/workflows/helper/appimage/export_vars.sh
vendored
Normal file → Executable file
4
.github/workflows/helper/appimage/export_vars.sh
vendored
Normal file → Executable file
@ -1,10 +1,12 @@
|
|||||||
|
#!/bin/sh
|
||||||
|
|
||||||
# this file is called from AppRun so 'root_dir' will point to where AppRun is
|
# this file is called from AppRun so 'root_dir' will point to where AppRun is
|
||||||
root_dir="$(readlink -f "$(dirname "$0")")"
|
root_dir="$(readlink -f "$(dirname "$0")")"
|
||||||
|
|
||||||
# Insert the default values because after the test we prepend our path
|
# Insert the default values because after the test we prepend our path
|
||||||
# and it will create problems with DEs (eg KDE) that don't set the variable
|
# and it will create problems with DEs (eg KDE) that don't set the variable
|
||||||
# and rely on the default paths
|
# and rely on the default paths
|
||||||
if [[ -z ${XDG_DATA_DIRS} ]]; then
|
if [ -z "${XDG_DATA_DIRS}" ]; then
|
||||||
XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
|
XDG_DATA_DIRS="/usr/local/share/:/usr/share/"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
2
.github/workflows/stale_bot.yaml
vendored
2
.github/workflows/stale_bot.yaml
vendored
@ -12,7 +12,7 @@ jobs:
|
|||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
steps:
|
steps:
|
||||||
- name: Mark and close stale PRs
|
- name: Mark and close stale PRs
|
||||||
uses: actions/stale@v5
|
uses: actions/stale@v8
|
||||||
with:
|
with:
|
||||||
stale-pr-message: "This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity."
|
stale-pr-message: "This PR is stale because it has been 60 days with no activity. This PR will be automatically closed within 7 days if there is no further activity."
|
||||||
close-pr-message: "This PR was closed because it has been stalled for some time with no activity."
|
close-pr-message: "This PR was closed because it has been stalled for some time with no activity."
|
||||||
|
@ -3,7 +3,7 @@ repos:
|
|||||||
hooks:
|
hooks:
|
||||||
- id: check-translation-tag
|
- id: check-translation-tag
|
||||||
name: Check newline characters in <translation> tag
|
name: Check newline characters in <translation> tag
|
||||||
entry: .github/workflows/check_translation_tag.py
|
entry: .github/workflows/helper/pre-commit/check_translation_tag.py
|
||||||
language: script
|
language: script
|
||||||
exclude: |
|
exclude: |
|
||||||
(?x)^(
|
(?x)^(
|
||||||
@ -13,7 +13,7 @@ repos:
|
|||||||
- ts
|
- ts
|
||||||
|
|
||||||
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
- repo: https://github.com/pre-commit/pre-commit-hooks.git
|
||||||
rev: v4.3.0
|
rev: v4.4.0
|
||||||
hooks:
|
hooks:
|
||||||
- id: check-json
|
- id: check-json
|
||||||
name: Check JSON files
|
name: Check JSON files
|
||||||
|
Loading…
x
Reference in New Issue
Block a user