summaryrefslogtreecommitdiff
path: root/.github/workflows
diff options
context:
space:
mode:
authorKitzunu <24550914+Kitzunu@users.noreply.github.com>2023-09-17 22:14:04 +0200
committerGitHub <noreply@github.com>2023-09-17 17:14:04 -0300
commit63b10f34a6e3abb90dad00e1ca1292d5cdaa275f (patch)
tree5929e630894a0c2a93e9a9ba444a01c8a46a443c /.github/workflows
parent18f20edbfa6b172e69aac4cd5cc0f1fe9da110c9 (diff)
chore(CI): Hello Github Bot and Update actions version (#17285)
Diffstat (limited to '.github/workflows')
-rw-r--r--.github/workflows/build_dbimport.yml2
-rw-r--r--.github/workflows/check_pending_sql.yml3
-rw-r--r--.github/workflows/codestyle.yml3
-rw-r--r--.github/workflows/core_build.yml2
-rw-r--r--.github/workflows/core_matrix_build.yml2
-rw-r--r--.github/workflows/core_modules_build.yml2
-rw-r--r--.github/workflows/cpp-check.yml2
-rw-r--r--.github/workflows/docker_build.yml4
-rw-r--r--.github/workflows/import_pending.yml10
-rw-r--r--.github/workflows/macos_build.yml2
-rw-r--r--.github/workflows/pr_labeler.yml9
-rw-r--r--.github/workflows/tools_build.yml2
-rw-r--r--.github/workflows/windows_build.yml2
13 files changed, 27 insertions, 18 deletions
diff --git a/.github/workflows/build_dbimport.yml b/.github/workflows/build_dbimport.yml
index 34b8f49887..ecc4068d15 100644
--- a/.github/workflows/build_dbimport.yml
+++ b/.github/workflows/build_dbimport.yml
@@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
env:
diff --git a/.github/workflows/check_pending_sql.yml b/.github/workflows/check_pending_sql.yml
index f75913bb04..52ea18acb2 100644
--- a/.github/workflows/check_pending_sql.yml
+++ b/.github/workflows/check_pending_sql.yml
@@ -5,7 +5,8 @@ on:
jobs:
check-pending-sql:
runs-on: ubuntu-latest
+ if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Check pending SQL
run: source ./apps/ci/ci-pending.sh
diff --git a/.github/workflows/codestyle.yml b/.github/workflows/codestyle.yml
index 910cd6e490..acce90c0dd 100644
--- a/.github/workflows/codestyle.yml
+++ b/.github/workflows/codestyle.yml
@@ -9,8 +9,9 @@ jobs:
matrix:
os: [ubuntu-20.04]
runs-on: ${{ matrix.os }}
+ if: github.repository == 'azerothcore/azerothcore-wotlk'
name: check codestyle
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Check core codestyle
run: source ./apps/ci/ci-codestyle.sh
diff --git a/.github/workflows/core_build.yml b/.github/workflows/core_build.yml
index b068a80ba5..c64f7178dc 100644
--- a/.github/workflows/core_build.yml
+++ b/.github/workflows/core_build.yml
@@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
diff --git a/.github/workflows/core_matrix_build.yml b/.github/workflows/core_matrix_build.yml
index 9dc0595af8..76ae747e31 100644
--- a/.github/workflows/core_matrix_build.yml
+++ b/.github/workflows/core_matrix_build.yml
@@ -40,7 +40,7 @@ jobs:
|| github.event.label.name == 'run-build')
)
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
diff --git a/.github/workflows/core_modules_build.yml b/.github/workflows/core_modules_build.yml
index 0997b0b53e..586edcfa47 100644
--- a/.github/workflows/core_modules_build.yml
+++ b/.github/workflows/core_modules_build.yml
@@ -34,7 +34,7 @@ jobs:
|| github.event.label.name == 'run-build')
)
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Checkout modules
run: ./apps/ci/ci-install-modules.sh
if: matrix.modules == 'with'
diff --git a/.github/workflows/cpp-check.yml b/.github/workflows/cpp-check.yml
index 7a2cac94d1..a4305fac54 100644
--- a/.github/workflows/cpp-check.yml
+++ b/.github/workflows/cpp-check.yml
@@ -21,7 +21,7 @@ jobs:
if: github.repository == 'azerothcore/azerothcore-wotlk'
name: cpp check
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: cpp check
run: |
sudo apt update -y
diff --git a/.github/workflows/docker_build.yml b/.github/workflows/docker_build.yml
index 70e658685f..2dfc535eba 100644
--- a/.github/workflows/docker_build.yml
+++ b/.github/workflows/docker_build.yml
@@ -40,7 +40,7 @@ jobs:
docker --version
docker compose version
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
# we need the entire history for the ac-dev-server
# with:
# fetch-depth: 2
@@ -108,7 +108,7 @@ jobs:
docker --version
docker compose version
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
# we need the entire history for the ac-dev-server
# with:
# fetch-depth: 2
diff --git a/.github/workflows/import_pending.yml b/.github/workflows/import_pending.yml
index d4eb1322f8..012b0a281f 100644
--- a/.github/workflows/import_pending.yml
+++ b/.github/workflows/import_pending.yml
@@ -9,9 +9,10 @@ jobs:
strategy:
fail-fast: false
runs-on: ubuntu-20.04
+ permissions: write-all
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
with:
persist-credentials: false
# If we're fetching all the history in a later step it makes sense to
@@ -26,7 +27,8 @@ jobs:
- name: Import and commit pending sql
run: |
- git config user.email "azerothcorebot@gmail.com" && git config user.name "AzerothCoreBot"
+ git config --local user.email "github-actions[bot]@users.noreply.github.com"
+ git config --local user.name "github-actions[bot]"
# Get the latest changes from git
git pull --rebase origin "${{ github.ref_name }}"
bash bin/acore-db-pendings
@@ -39,9 +41,9 @@ jobs:
BRANCH: ${{ github.ref_name }}
- name: Push changes
- uses: ad-m/github-push-action@fe38f0a751bf9149f0270cc1fe20bf9156854365
+ uses: ad-m/github-push-action@master
with:
- github_token: ${{ secrets.AC_GITHUB_TOKEN }}
+ github_token: ${{ secrets.GITHUB_TOKEN }}
# Noting that the branch name can only be master, as per the event
# triggering this action
branch: ${{ github.ref_name }}
diff --git a/.github/workflows/macos_build.yml b/.github/workflows/macos_build.yml
index 63ac5f9833..46e3a96181 100644
--- a/.github/workflows/macos_build.yml
+++ b/.github/workflows/macos_build.yml
@@ -25,7 +25,7 @@ jobs:
&& !github.event.pull_request.draft
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
with:
diff --git a/.github/workflows/pr_labeler.yml b/.github/workflows/pr_labeler.yml
index 0c76a2520f..4e231bb0be 100644
--- a/.github/workflows/pr_labeler.yml
+++ b/.github/workflows/pr_labeler.yml
@@ -5,9 +5,14 @@ on:
jobs:
triage:
runs-on: ubuntu-20.04
+ permissions: write-all
+ if: github.repository == 'azerothcore/azerothcore-wotlk'
steps:
- - uses: actions/labeler@v3
+ - uses: actions/checkout@v4
with:
- repo-token: ${{ secrets.AC_GITHUB_TOKEN }}
+ persist-credentials: true
+ - uses: actions/labeler@v4
+ with:
+ repo-token: ${{ secrets.GITHUB_TOKEN }}
configuration-path: .github/labeler.yml
sync-labels: true
diff --git a/.github/workflows/tools_build.yml b/.github/workflows/tools_build.yml
index 944e2a38e9..6044cc0362 100644
--- a/.github/workflows/tools_build.yml
+++ b/.github/workflows/tools_build.yml
@@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: Cache
uses: actions/cache@v3
env:
diff --git a/.github/workflows/windows_build.yml b/.github/workflows/windows_build.yml
index 082155b432..76d78e7e0a 100644
--- a/.github/workflows/windows_build.yml
+++ b/.github/workflows/windows_build.yml
@@ -25,7 +25,7 @@ jobs:
&& !github.event.pull_request.draft
&& (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps:
- - uses: actions/checkout@v3
+ - uses: actions/checkout@v4
- name: ccache
uses: hendrikmuhs/ccache-action@v1.2.9
- name: Configure OS