Skip to content

Commit 20a67ca

Browse files
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](actions/checkout@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] <[email protected]>
1 parent 2b98bf6 commit 20a67ca

File tree

3 files changed

+148
-148
lines changed

3 files changed

+148
-148
lines changed

.github/workflows/nightly.yml

Lines changed: 34 additions & 34 deletions
Original file line numberDiff line numberDiff line change
@@ -1,34 +1,34 @@
1-
name: Nightly Build
2-
3-
on:
4-
push:
5-
branches:
6-
- master
7-
- main
8-
- develop
9-
10-
env:
11-
# Path to the solution file relative to the root of the project.
12-
SOLUTION_FILE_PATH: .
13-
14-
# Configuration type to build.
15-
# You can convert this to a build matrix if you need coverage of multiple configuration types.
16-
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
17-
BUILD_CONFIGURATION: DevBuild
18-
# GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA")
19-
# GIT_BRANCH: ${GITHUB_REF#refs/heads/}
20-
21-
jobs:
22-
build:
23-
runs-on: windows-latest
24-
25-
steps:
26-
- uses: actions/checkout@v4
27-
with:
28-
submodules: recursive
29-
30-
- name: Build Phobos
31-
uses: ./.github/actions/build-phobos # Build steps are reused
32-
with:
33-
sln-path: ${{env.SOLUTION_FILE_PATH}}
34-
build-config: ${{env.BUILD_CONFIGURATION}}
1+
name: Nightly Build
2+
3+
on:
4+
push:
5+
branches:
6+
- master
7+
- main
8+
- develop
9+
10+
env:
11+
# Path to the solution file relative to the root of the project.
12+
SOLUTION_FILE_PATH: .
13+
14+
# Configuration type to build.
15+
# You can convert this to a build matrix if you need coverage of multiple configuration types.
16+
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
17+
BUILD_CONFIGURATION: DevBuild
18+
# GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA")
19+
# GIT_BRANCH: ${GITHUB_REF#refs/heads/}
20+
21+
jobs:
22+
build:
23+
runs-on: windows-latest
24+
25+
steps:
26+
- uses: actions/checkout@v5
27+
with:
28+
submodules: recursive
29+
30+
- name: Build Phobos
31+
uses: ./.github/actions/build-phobos # Build steps are reused
32+
with:
33+
sln-path: ${{env.SOLUTION_FILE_PATH}}
34+
build-config: ${{env.BUILD_CONFIGURATION}}
Lines changed: 83 additions & 83 deletions
Original file line numberDiff line numberDiff line change
@@ -1,83 +1,83 @@
1-
name: Pull Request Check
2-
3-
on:
4-
pull_request:
5-
types:
6-
- opened
7-
- reopened
8-
- synchronize
9-
- labeled
10-
- unlabeled
11-
env:
12-
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
13-
14-
jobs:
15-
Changelog-Check:
16-
name: Changelog Mention
17-
# If the No Documentation Needed label is set, then workflow will not be executed
18-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') }}
19-
runs-on: ubuntu-latest
20-
21-
steps:
22-
- uses: actions/checkout@v1
23-
- name: Check that Changelog has been updated
24-
run: |
25-
# Check that Changelog has been updated
26-
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^docs/Whats-New.md$)
27-
then
28-
echo "Thank you for remembering to update the Changelog! 😋"
29-
exit 0
30-
else
31-
echo "It looks like you forgot to update the Changelog! 🧐"
32-
echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request."
33-
exit 1
34-
fi
35-
36-
Credits-Check:
37-
name: Credits List Mention
38-
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
39-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
40-
runs-on: ubuntu-latest
41-
42-
steps:
43-
- uses: actions/checkout@v1
44-
- name: Check that Credits List has been updated
45-
run: |
46-
# Check that Credits List has been updated
47-
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^CREDITS.md$)
48-
then
49-
echo "Thank you for remembering to update the Credits List! 😋"
50-
exit 0
51-
else
52-
echo "It looks like you forgot to update the Credits List! 🧐"
53-
echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request."
54-
exit 1
55-
fi
56-
57-
Documentation-Check:
58-
name: Documentation for Changes
59-
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
60-
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
61-
runs-on: ubuntu-latest
62-
63-
steps:
64-
- uses: actions/checkout@v1
65-
- name: Check that Documentation has been updated
66-
run: |
67-
# Check that Documentation has been updated
68-
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | \
69-
grep \
70-
-e ^docs/New-or-Enhanced-Logics.md$ \
71-
-e ^docs/Fixed-or-Improved-Logics.md$ \
72-
-e ^docs/AI-Scripting-and-Mapping.md$ \
73-
-e ^docs/User-Interface.md$ \
74-
-e ^docs/Miscellanous.md$ \
75-
)
76-
then
77-
echo "Thank you for remembering to add your changes to the docs! 😋"
78-
exit 0
79-
else
80-
echo "It looks like you forgot to add your changes to the docs! 🧐"
81-
echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request."
82-
exit 1
83-
fi
1+
name: Pull Request Check
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
- labeled
10+
- unlabeled
11+
env:
12+
BASE_BRANCH: ${{ github.event.pull_request.base.ref }}
13+
14+
jobs:
15+
Changelog-Check:
16+
name: Changelog Mention
17+
# If the No Documentation Needed label is set, then workflow will not be executed
18+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') }}
19+
runs-on: ubuntu-latest
20+
21+
steps:
22+
- uses: actions/checkout@v5
23+
- name: Check that Changelog has been updated
24+
run: |
25+
# Check that Changelog has been updated
26+
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^docs/Whats-New.md$)
27+
then
28+
echo "Thank you for remembering to update the Changelog! 😋"
29+
exit 0
30+
else
31+
echo "It looks like you forgot to update the Changelog! 🧐"
32+
echo "Please, mention your changes in 'docs/Whats-New.md' or use [No Documentation Needed] label for your Pull Request."
33+
exit 1
34+
fi
35+
36+
Credits-Check:
37+
name: Credits List Mention
38+
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
39+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
40+
runs-on: ubuntu-latest
41+
42+
steps:
43+
- uses: actions/checkout@v5
44+
- name: Check that Credits List has been updated
45+
run: |
46+
# Check that Credits List has been updated
47+
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | grep ^CREDITS.md$)
48+
then
49+
echo "Thank you for remembering to update the Credits List! 😋"
50+
exit 0
51+
else
52+
echo "It looks like you forgot to update the Credits List! 🧐"
53+
echo "Please, mention your contribution in 'CREDITS.md' or use [No Documentation Needed] label for your Pull Request."
54+
exit 1
55+
fi
56+
57+
Documentation-Check:
58+
name: Documentation for Changes
59+
# If the No Documentation Needed or Bugfix label is set, then workflow will not be executed
60+
if: ${{ !contains(github.event.pull_request.labels.*.name, 'No Documentation Needed') && !contains(github.event.pull_request.labels.*.name, 'Bugfix') }}
61+
runs-on: ubuntu-latest
62+
63+
steps:
64+
- uses: actions/checkout@v5
65+
- name: Check that Documentation has been updated
66+
run: |
67+
# Check that Documentation has been updated
68+
if (git diff --name-only $(git merge-base origin/$BASE_BRANCH HEAD) | \
69+
grep \
70+
-e ^docs/New-or-Enhanced-Logics.md$ \
71+
-e ^docs/Fixed-or-Improved-Logics.md$ \
72+
-e ^docs/AI-Scripting-and-Mapping.md$ \
73+
-e ^docs/User-Interface.md$ \
74+
-e ^docs/Miscellanous.md$ \
75+
)
76+
then
77+
echo "Thank you for remembering to add your changes to the docs! 😋"
78+
exit 0
79+
else
80+
echo "It looks like you forgot to add your changes to the docs! 🧐"
81+
echo "Please, document your changes or use [No Documentation Needed] label for your Pull Request."
82+
exit 1
83+
fi

.github/workflows/pr-nightly.yml

Lines changed: 31 additions & 31 deletions
Original file line numberDiff line numberDiff line change
@@ -1,31 +1,31 @@
1-
name: Pull Request Nightly Build
2-
3-
on:
4-
pull_request:
5-
6-
env:
7-
# Path to the solution file relative to the root of the project.
8-
SOLUTION_FILE_PATH: .
9-
10-
# Configuration type to build.
11-
# You can convert this to a build matrix if you need coverage of multiple configuration types.
12-
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
13-
BUILD_CONFIGURATION: DevBuild
14-
# GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA")
15-
# GIT_BRANCH: ${GITHUB_REF#refs/heads/}
16-
17-
jobs:
18-
build:
19-
runs-on: windows-latest
20-
21-
steps:
22-
- uses: actions/checkout@v4
23-
with:
24-
submodules: recursive
25-
# ref: ${{ github.event.pull_request.head.sha }}
26-
27-
- name: Build Phobos
28-
uses: ./.github/actions/build-phobos # Setup steps are reused
29-
with:
30-
sln-path: ${{env.SOLUTION_FILE_PATH}}
31-
build-config: ${{env.BUILD_CONFIGURATION}}
1+
name: Pull Request Nightly Build
2+
3+
on:
4+
pull_request:
5+
6+
env:
7+
# Path to the solution file relative to the root of the project.
8+
SOLUTION_FILE_PATH: .
9+
10+
# Configuration type to build.
11+
# You can convert this to a build matrix if you need coverage of multiple configuration types.
12+
# https://docs.github.com/actions/learn-github-actions/managing-complex-workflows#using-a-build-matrix
13+
BUILD_CONFIGURATION: DevBuild
14+
# GIT_COMMIT: $(git rev-parse --short "$GITHUB_SHA")
15+
# GIT_BRANCH: ${GITHUB_REF#refs/heads/}
16+
17+
jobs:
18+
build:
19+
runs-on: windows-latest
20+
21+
steps:
22+
- uses: actions/checkout@v5
23+
with:
24+
submodules: recursive
25+
# ref: ${{ github.event.pull_request.head.sha }}
26+
27+
- name: Build Phobos
28+
uses: ./.github/actions/build-phobos # Setup steps are reused
29+
with:
30+
sln-path: ${{env.SOLUTION_FILE_PATH}}
31+
build-config: ${{env.BUILD_CONFIGURATION}}

0 commit comments

Comments
 (0)