aboutsummaryrefslogtreecommitdiff
path: root/.github
diff options
context:
space:
mode:
Diffstat (limited to '.github')
-rw-r--r--.github/labeler.yml9
-rw-r--r--.github/nativefuncs.json25
-rw-r--r--.github/pull_request_template.md8
-rw-r--r--.github/workflows/auto-label-pr.yml14
-rw-r--r--.github/workflows/compile-check.yml2
-rw-r--r--.github/workflows/encoding.yml8
-rw-r--r--.github/workflows/merge-conflict-auto-label.yml3
7 files changed, 64 insertions, 5 deletions
diff --git a/.github/labeler.yml b/.github/labeler.yml
new file mode 100644
index 000000000..cc83d7cd3
--- /dev/null
+++ b/.github/labeler.yml
@@ -0,0 +1,9 @@
+# Add 'needs code review' label to any changes within the entire repository
+needs code review:
+- changed-files:
+ - any-glob-to-any-file: '**'
+
+# Add 'needs testing' label to any changes within the entire repository
+needs testing:
+- changed-files:
+ - any-glob-to-any-file: '**'
diff --git a/.github/nativefuncs.json b/.github/nativefuncs.json
index 1148d3e58..110429031 100644
--- a/.github/nativefuncs.json
+++ b/.github/nativefuncs.json
@@ -19,6 +19,12 @@
"argTypes":"string modName, bool enabled"
},
{
+ "name":"NSIsModRemote",
+ "helpText":"",
+ "returnTypeString":"bool",
+ "argTypes":"string modName"
+ },
+ {
"name":"NSGetModDescriptionByModName",
"helpText":"",
"returnTypeString":"string",
@@ -267,6 +273,12 @@
"argTypes":"string modName, bool enabled"
},
{
+ "name":"NSIsModRemote",
+ "helpText":"",
+ "returnTypeString":"bool",
+ "argTypes":"string modName"
+ },
+ {
"name":"NSGetModDescriptionByModName",
"helpText":"",
"returnTypeString":"string",
@@ -467,6 +479,12 @@
"argTypes":"string modName, bool enabled"
},
{
+ "name":"NSIsModRemote",
+ "helpText":"",
+ "returnTypeString":"bool",
+ "argTypes":"string modName"
+ },
+ {
"name":"NSGetModDescriptionByModName",
"helpText":"",
"returnTypeString":"string",
@@ -503,6 +521,13 @@
"argTypes":"string modName"
},
{
+ "name": "NSFetchVerifiedModsManifesto",
+ "helpText": "Retrieves the verified mods list from the central authority (GitHub).",
+ "returnTypeString": "void",
+ "argTypes": ""
+
+ },
+ {
"name": "NSIsModDownloadable",
"helpText": "checks whether a mod is verified and can be auto-downloaded",
"returnTypeString": "bool",
diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md
index 8cda06a32..e4dd3515d 100644
--- a/.github/pull_request_template.md
+++ b/.github/pull_request_template.md
@@ -16,3 +16,11 @@ Note that commit messages in PRs will generally be squashed to keep commit histo
-->
Replace this line with a description of your change (and screenshots/screenrecordings if applicable).
+
+### Code review:
+
+Replace this line with anything specific to look out for during code reviews.
+
+### Testing:
+
+Replace this line with instructions on how to test your pull request. The more detailed, the easier it is for reviewers to test, the faster your PR gets merged.
diff --git a/.github/workflows/auto-label-pr.yml b/.github/workflows/auto-label-pr.yml
new file mode 100644
index 000000000..659ff351d
--- /dev/null
+++ b/.github/workflows/auto-label-pr.yml
@@ -0,0 +1,14 @@
+name: Auto-Labeler
+on:
+ pull_request_target:
+ types:
+ - opened
+
+jobs:
+ labeler:
+ permissions:
+ contents: read
+ pull-requests: write
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/labeler@v5
diff --git a/.github/workflows/compile-check.yml b/.github/workflows/compile-check.yml
index cb7ab1d08..8803f4f4c 100644
--- a/.github/workflows/compile-check.yml
+++ b/.github/workflows/compile-check.yml
@@ -8,7 +8,7 @@ jobs:
runs-on: windows-latest
steps:
- name: Checkout Repo
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
with:
path: "mods"
diff --git a/.github/workflows/encoding.yml b/.github/workflows/encoding.yml
index a88e3961a..b1d851a14 100644
--- a/.github/workflows/encoding.yml
+++ b/.github/workflows/encoding.yml
@@ -3,19 +3,19 @@ on: [push, pull_request]
jobs:
check-loc-encoding:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Check localization files encoding
run: |
files=$(ls Northstar.Client/mod/resource/northstar_client_localisation_*.txt)
IFS=$'\n'; files=($files); unset IFS; ! file --mime "${files[@]}" | grep -v "charset=utf-16le"
check-missing-translations:
- runs-on: ubuntu-20.04
+ runs-on: ubuntu-22.04
steps:
- name: Checkout
- uses: actions/checkout@v3
+ uses: actions/checkout@v4
- name: Look out for missing translations
run: node .github/build/find-missing-translations.js
continue-on-error: true
diff --git a/.github/workflows/merge-conflict-auto-label.yml b/.github/workflows/merge-conflict-auto-label.yml
index e237726af..abb7cabde 100644
--- a/.github/workflows/merge-conflict-auto-label.yml
+++ b/.github/workflows/merge-conflict-auto-label.yml
@@ -1,8 +1,11 @@
name: Merge Conflict Auto Label
on:
+ workflow_dispatch: # Manual run
push:
branches:
- main
+ schedule:
+ - cron: "10 21 * * *" # Runs at 21:10; time was chosen based on contributor activity and low GitHub Actions cron load.
jobs:
triage: