chore(CI): Hello Github Bot and Update actions version (#17285)

This commit is contained in:
Kitzunu
2023-09-17 22:14:04 +02:00
committed by GitHub
parent 18f20edbfa
commit 63b10f34a6
13 changed files with 27 additions and 18 deletions
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
env: env:
+2 -1
View File
@@ -5,7 +5,8 @@ on:
jobs: jobs:
check-pending-sql: check-pending-sql:
runs-on: ubuntu-latest runs-on: ubuntu-latest
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Check pending SQL - name: Check pending SQL
run: source ./apps/ci/ci-pending.sh run: source ./apps/ci/ci-pending.sh
+2 -1
View File
@@ -9,8 +9,9 @@ jobs:
matrix: matrix:
os: [ubuntu-20.04] os: [ubuntu-20.04]
runs-on: ${{ matrix.os }} runs-on: ${{ matrix.os }}
if: github.repository == 'azerothcore/azerothcore-wotlk'
name: check codestyle name: check codestyle
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Check core codestyle - name: Check core codestyle
run: source ./apps/ci/ci-codestyle.sh run: source ./apps/ci/ci-codestyle.sh
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
+1 -1
View File
@@ -40,7 +40,7 @@ jobs:
|| github.event.label.name == 'run-build') || github.event.label.name == 'run-build')
) )
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
+1 -1
View File
@@ -34,7 +34,7 @@ jobs:
|| github.event.label.name == 'run-build') || github.event.label.name == 'run-build')
) )
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Checkout modules - name: Checkout modules
run: ./apps/ci/ci-install-modules.sh run: ./apps/ci/ci-install-modules.sh
if: matrix.modules == 'with' if: matrix.modules == 'with'
+1 -1
View File
@@ -21,7 +21,7 @@ jobs:
if: github.repository == 'azerothcore/azerothcore-wotlk' if: github.repository == 'azerothcore/azerothcore-wotlk'
name: cpp check name: cpp check
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: cpp check - name: cpp check
run: | run: |
sudo apt update -y sudo apt update -y
+2 -2
View File
@@ -40,7 +40,7 @@ jobs:
docker --version docker --version
docker compose version docker compose version
- uses: actions/checkout@v3 - uses: actions/checkout@v4
# we need the entire history for the ac-dev-server # we need the entire history for the ac-dev-server
# with: # with:
# fetch-depth: 2 # fetch-depth: 2
@@ -108,7 +108,7 @@ jobs:
docker --version docker --version
docker compose version docker compose version
- uses: actions/checkout@v3 - uses: actions/checkout@v4
# we need the entire history for the ac-dev-server # we need the entire history for the ac-dev-server
# with: # with:
# fetch-depth: 2 # fetch-depth: 2
+6 -4
View File
@@ -9,9 +9,10 @@ jobs:
strategy: strategy:
fail-fast: false fail-fast: false
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
permissions: write-all
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
with: with:
persist-credentials: false persist-credentials: false
# If we're fetching all the history in a later step it makes sense to # 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 - name: Import and commit pending sql
run: | 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 # Get the latest changes from git
git pull --rebase origin "${{ github.ref_name }}" git pull --rebase origin "${{ github.ref_name }}"
bash bin/acore-db-pendings bash bin/acore-db-pendings
@@ -39,9 +41,9 @@ jobs:
BRANCH: ${{ github.ref_name }} BRANCH: ${{ github.ref_name }}
- name: Push changes - name: Push changes
uses: ad-m/github-push-action@fe38f0a751bf9149f0270cc1fe20bf9156854365 uses: ad-m/github-push-action@master
with: 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 # Noting that the branch name can only be master, as per the event
# triggering this action # triggering this action
branch: ${{ github.ref_name }} branch: ${{ github.ref_name }}
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
&& !github.event.pull_request.draft && !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') && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
with: with:
+7 -2
View File
@@ -5,9 +5,14 @@ on:
jobs: jobs:
triage: triage:
runs-on: ubuntu-20.04 runs-on: ubuntu-20.04
permissions: write-all
if: github.repository == 'azerothcore/azerothcore-wotlk'
steps: steps:
- uses: actions/labeler@v3 - uses: actions/checkout@v4
with: 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 configuration-path: .github/labeler.yml
sync-labels: true sync-labels: true
+1 -1
View File
@@ -23,7 +23,7 @@ jobs:
COMPILER: ${{ matrix.compiler }} COMPILER: ${{ matrix.compiler }}
if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft if: github.repository == 'azerothcore/azerothcore-wotlk' && !github.event.pull_request.draft
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: Cache - name: Cache
uses: actions/cache@v3 uses: actions/cache@v3
env: env:
+1 -1
View File
@@ -25,7 +25,7 @@ jobs:
&& !github.event.pull_request.draft && !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') && (github.ref == 'refs/heads/master' || contains(github.event.pull_request.labels.*.name, 'run-build') || github.event.label.name == 'run-build')
steps: steps:
- uses: actions/checkout@v3 - uses: actions/checkout@v4
- name: ccache - name: ccache
uses: hendrikmuhs/ccache-action@v1.2.9 uses: hendrikmuhs/ccache-action@v1.2.9
- name: Configure OS - name: Configure OS