aboutsummaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorWilliam Miller <william-millennium@hotmail.com>2024-09-10 16:31:12 -0300
committerGitHub <noreply@github.com>2024-09-10 16:31:12 -0300
commit228aefe63642ba8b43b1a137031ea606ccec2501 (patch)
treedd762c11c79559eeda63eed706e494c4d0820ab5 /.github/workflows
parenta1502e9ad3ed44b2a0a8ab5f17d4d2bf5238d9cf (diff)
parent3dfd2091b4e72aad14b5d9cfd2332e7ec643c7fd (diff)
downloadNorthstarMods-gamemode_fd.tar.gz
NorthstarMods-gamemode_fd.zip
Merge branch 'main' into gamemode_fdgamemode_fd
Diffstat (limited to '.github/workflows')
-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
4 files changed, 22 insertions, 5 deletions
diff --git a/.github/workflows/auto-label-pr.yml b/.github/workflows/auto-label-pr.yml
new file mode 100644
index 00000000..659ff351
--- /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 cb7ab1d0..8803f4f4 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 a88e3961..b1d851a1 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 e237726a..abb7cabd 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: