From 20a67caacd5d9a61cc50db8bfa6d051e4d8ea951 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Sun, 5 Oct 2025 17:39:00 +0000 Subject: [PATCH] Bump actions/checkout from 1 to 5 Bumps [actions/checkout](https://github.com/actions/checkout) from 1 to 5. - [Release notes](https://github.com/actions/checkout/releases) - [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md) - [Commits](https://github.com/actions/checkout/compare/v1...v5) --- updated-dependencies: - dependency-name: actions/checkout dependency-version: '5' dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/nightly.yml | 68 +++++------ .github/workflows/pr-doc-checker.yml | 166 +++++++++++++-------------- .github/workflows/pr-nightly.yml | 62 +++++----- 3 files changed, 148 insertions(+), 148 deletions(-) diff --git a/.github/workflows/nightly.yml b/.github/workflows/nightly.yml index c3b72fb470..e086851c61 100644 --- a/.github/workflows/nightly.yml +++ b/.github/workflows/nightly.yml @@ -1,34 +1,34 @@ -name: Nightly Build - -on: - push: - branches: - - master - - main - - develop - -env: - # Path to the solution file relative to the root of the project. - SOLUTION_FILE_PATH: . - - # Configuration type to build. - # You can convert this to a build matrix if you need coverage of multiple configuration types. - # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - BUILD_CONFIGURATION: DevBuild - # GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA") - # GIT_BRANCH: ${GITHUB_REF#refs/heads/} - -jobs: - build: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - - - name: Build Phobos - uses: ./.github/actions/build-phobos # Build steps are reused - with: - sln-path: ${{env.SOLUTION_FILE_PATH}} - build-config: ${{env.BUILD_CONFIGURATION}} +name: Nightly Build + +on: + push: + branches: + - master + - main + - develop + +env: + # Path to the solution file relative to the root of the project. + SOLUTION_FILE_PATH: . + + # Configuration type to build. + # You can convert this to a build matrix if you need coverage of multiple configuration types. + # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + BUILD_CONFIGURATION: DevBuild + # GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA") + # GIT_BRANCH: ${GITHUB_REF#refs/heads/} + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v5 + with: + submodules: recursive + + - name: Build Phobos + uses: ./.github/actions/build-phobos # Build steps are reused + with: + sln-path: ${{env.SOLUTION_FILE_PATH}} + build-config: ${{env.BUILD_CONFIGURATION}} diff --git a/.github/workflows/pr-doc-checker.yml b/.github/workflows/pr-doc-checker.yml index 0024b31a57..35fc9e5d48 100644 --- a/.github/workflows/pr-doc-checker.yml +++ b/.github/workflows/pr-doc-checker.yml @@ -1,83 +1,83 @@ -name: Pull Request Check - -on: - pull_request: - types: - - opened - - reopened - - synchronize - - labeled - - unlabeled -env: - BASE_BRANCH: ${{ github.event.pull_request.base.ref }} - -jobs: - Changelog-Check: - name: Changelog Mention - # If the No Documentation Needed label is set, then workflow will not be executed - if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') }} - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Check that Changelog has been updated - run: | - # Check that Changelog has been updated - if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^docs/Whats-New.md$) - then - echo "Thank you for remembering to update the Changelog! 😋" - exit 0 - else - echo "It looks like you forgot to update the Changelog! 🧐" - echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request." - exit 1 - fi - - Credits-Check: - name: Credits List Mention - # If the No Documentation Needed or Bugfix label is set, then workflow will not be executed - if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }} - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Check that Credits List has been updated - run: | - # Check that Credits List has been updated - if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^CREDITS.md$) - then - echo "Thank you for remembering to update the Credits List! 😋" - exit 0 - else - echo "It looks like you forgot to update the Credits List! 🧐" - echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request." - exit 1 - fi - - Documentation-Check: - name: Documentation for Changes - # If the No Documentation Needed or Bugfix label is set, then workflow will not be executed - if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }} - runs-on: ubuntu-latest - - steps: - - uses: actions/checkout@v1 - - name: Check that Documentation has been updated - run: | - # Check that Documentation has been updated - if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | \ - grep \ - -e ^docs/New-or-Enhanced-Logics.md$ \ - -e ^docs/Fixed-or-Improved-Logics.md$ \ - -e ^docs/AI-Scripting-and-Mapping.md$ \ - -e ^docs/User-Interface.md$ \ - -e ^docs/Miscellanous.md$ \ - ) - then - echo "Thank you for remembering to add your changes to the docs! 😋" - exit 0 - else - echo "It looks like you forgot to add your changes to the docs! 🧐" - echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request." - exit 1 - fi +name: Pull Request Check + +on: + pull_request: + types: + - opened + - reopened + - synchronize + - labeled + - unlabeled +env: + BASE_BRANCH: ${{ github.event.pull_request.base.ref }} + +jobs: + Changelog-Check: + name: Changelog Mention + # If the No Documentation Needed label is set, then workflow will not be executed + if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') }} + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + - name: Check that Changelog has been updated + run: | + # Check that Changelog has been updated + if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^docs/Whats-New.md$) + then + echo "Thank you for remembering to update the Changelog! 😋" + exit 0 + else + echo "It looks like you forgot to update the Changelog! 🧐" + echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request." + exit 1 + fi + + Credits-Check: + name: Credits List Mention + # If the No Documentation Needed or Bugfix label is set, then workflow will not be executed + if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }} + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + - name: Check that Credits List has been updated + run: | + # Check that Credits List has been updated + if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^CREDITS.md$) + then + echo "Thank you for remembering to update the Credits List! 😋" + exit 0 + else + echo "It looks like you forgot to update the Credits List! 🧐" + echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request." + exit 1 + fi + + Documentation-Check: + name: Documentation for Changes + # If the No Documentation Needed or Bugfix label is set, then workflow will not be executed + if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }} + runs-on: ubuntu-latest + + steps: + - uses: actions/checkout@v5 + - name: Check that Documentation has been updated + run: | + # Check that Documentation has been updated + if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | \ + grep \ + -e ^docs/New-or-Enhanced-Logics.md$ \ + -e ^docs/Fixed-or-Improved-Logics.md$ \ + -e ^docs/AI-Scripting-and-Mapping.md$ \ + -e ^docs/User-Interface.md$ \ + -e ^docs/Miscellanous.md$ \ + ) + then + echo "Thank you for remembering to add your changes to the docs! 😋" + exit 0 + else + echo "It looks like you forgot to add your changes to the docs! 🧐" + echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request." + exit 1 + fi diff --git a/.github/workflows/pr-nightly.yml b/.github/workflows/pr-nightly.yml index dbb5c97e68..9380007d75 100644 --- a/.github/workflows/pr-nightly.yml +++ b/.github/workflows/pr-nightly.yml @@ -1,31 +1,31 @@ -name: Pull Request Nightly Build - -on: - pull_request: - -env: - # Path to the solution file relative to the root of the project. - SOLUTION_FILE_PATH: . - - # Configuration type to build. - # You can convert this to a build matrix if you need coverage of multiple configuration types. - # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix - BUILD_CONFIGURATION: DevBuild - # GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA") - # GIT_BRANCH: ${GITHUB_REF#refs/heads/} - -jobs: - build: - runs-on: windows-latest - - steps: - - uses: actions/checkout@v4 - with: - submodules: recursive - # ref: ${{ github.event.pull_request.head.sha }} - - - name: Build Phobos - uses: ./.github/actions/build-phobos # Setup steps are reused - with: - sln-path: ${{env.SOLUTION_FILE_PATH}} - build-config: ${{env.BUILD_CONFIGURATION}} +name: Pull Request Nightly Build + +on: + pull_request: + +env: + # Path to the solution file relative to the root of the project. + SOLUTION_FILE_PATH: . + + # Configuration type to build. + # You can convert this to a build matrix if you need coverage of multiple configuration types. + # https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix + BUILD_CONFIGURATION: DevBuild + # GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA") + # GIT_BRANCH: ${GITHUB_REF#refs/heads/} + +jobs: + build: + runs-on: windows-latest + + steps: + - uses: actions/checkout@v5 + with: + submodules: recursive + # ref: ${{ github.event.pull_request.head.sha }} + + - name: Build Phobos + uses: ./.github/actions/build-phobos # Setup steps are reused + with: + sln-path: ${{env.SOLUTION_FILE_PATH}} + build-config: ${{env.BUILD_CONFIGURATION}}