Browse Source

Merge pull request #18877 from Chocobo1/ci

Clean up CI scripts
adaptive-webui-19844
Chocobo1 2 years ago committed by GitHub
parent
commit
be9ec5a329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 0
      .github/workflows/coverity-scan.yaml
  2. 4
      .github/workflows/helper/appimage/export_vars.sh
  3. 0
      .github/workflows/helper/pre-commit/check_translation_tag.py
  4. 2
      .github/workflows/stale_bot.yaml
  5. 4
      .pre-commit-config.yaml

0
.github/workflows/coverity-scan.yml → .github/workflows/coverity-scan.yaml

4
.github/workflows/helper/appimage/export_vars.sh

@ -1,10 +1,12 @@ @@ -1,10 +1,12 @@
#!/bin/sh
# this file is called from AppRun so 'root_dir' will point to where AppRun is
root_dir="$(readlink -f "$(dirname "$0")")"
# 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 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/"
fi

0
.github/workflows/check_translation_tag.py → .github/workflows/helper/pre-commit/check_translation_tag.py

2
.github/workflows/stale_bot.yaml

@ -12,7 +12,7 @@ jobs: @@ -12,7 +12,7 @@ jobs:
runs-on: ubuntu-latest
steps:
- name: Mark and close stale PRs
uses: actions/stale@v5
uses: actions/stale@v8
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."
close-pr-message: "This PR was closed because it has been stalled for some time with no activity."

4
.pre-commit-config.yaml

@ -3,7 +3,7 @@ repos: @@ -3,7 +3,7 @@ repos:
hooks:
- id: check-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
exclude: |
(?x)^(
@ -13,7 +13,7 @@ repos: @@ -13,7 +13,7 @@ repos:
- ts
- repo: https://github.com/pre-commit/pre-commit-hooks.git
rev: v4.3.0
rev: v4.4.0
hooks:
- id: check-json
name: Check JSON files

Loading…
Cancel
Save