Skip to content

Commit

Permalink
chore(CI): Hello Github Bot and Update actions version (azerothcore#1…
Browse files Browse the repository at this point in the history
  • Loading branch information
Kitzunu authored Sep 17, 2023
1 parent 18f20ed commit 63b10f3
Show file tree
Hide file tree
Showing 13 changed files with 27 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/build_dbimport.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
3 changes: 2 additions & 1 deletion .github/workflows/check_pending_sql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
3 changes: 2 additions & 1 deletion .github/workflows/codestyle.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/core_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core_matrix_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/core_modules_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/cpp-check.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions .github/workflows/docker_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down
10 changes: 6 additions & 4 deletions .github/workflows/import_pending.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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
Expand All @@ -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 }}
2 changes: 1 addition & 1 deletion .github/workflows/macos_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
9 changes: 7 additions & 2 deletions .github/workflows/pr_labeler.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
2 changes: 1 addition & 1 deletion .github/workflows/tools_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/windows_build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 63b10f3

Please sign in to comment.