Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move commit checker from Azure Pipelines to Github Actions #7943

Merged
merged 2 commits into from Jan 19, 2020

Conversation

@glx22
Copy link
Contributor

glx22 commented Jan 16, 2020

Basic workflow but logs should be less hidden and easier to read.
It can probably be improved with annotations and other stuff.

Copy link
Member

TrueBrain left a comment

Minor things, more style; lgtm otherwise

.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Show resolved Hide resolved
@glx22 glx22 force-pushed the glx22:commit-check branch from f9c79f1 to 264fe3a Jan 16, 2020
@glx22
Copy link
Contributor Author

glx22 commented Jan 16, 2020

Running version here

@glx22 glx22 force-pushed the glx22:commit-check branch 5 times, most recently from 1451a5f to 0788c5f Jan 16, 2020
Copy link
Contributor Author

glx22 left a comment

I found a way to get all the PR commits. First step is to get the latest commit of target branch. Then we can get commits only in the merge. Finally the commit check is done for the relevant commits.

.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
.github/workflows/commit-checker.yml Outdated Show resolved Hide resolved
@glx22 glx22 force-pushed the glx22:commit-check branch from 43b75d1 to 9d6cb30 Jan 18, 2020
@glx22 glx22 force-pushed the glx22:commit-check branch from f9644b3 to e1217a2 Jan 19, 2020
Copy link
Member

TrueBrain left a comment

LGTM! Let's fix things when we find cases where it breaks :D

@LordAro LordAro merged commit 9d5dd89 into OpenTTD:master Jan 19, 2020
7 checks passed
7 checks passed
OpenTTD CI Build #20200119.2 succeeded
Details
OpenTTD CI (Linux linux-amd64-clang-3.9) Linux linux-amd64-clang-3.9 succeeded
Details
OpenTTD CI (Linux linux-amd64-gcc-6) Linux linux-amd64-gcc-6 succeeded
Details
OpenTTD CI (Linux linux-i386-gcc-6) Linux linux-i386-gcc-6 succeeded
Details
OpenTTD CI (MacOS) MacOS succeeded
Details
OpenTTD CI (Windows Win32) Windows Win32 succeeded
Details
OpenTTD CI (Windows Win64) Windows Win64 succeeded
Details
@glx22 glx22 deleted the glx22:commit-check branch Jan 21, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked issues

Successfully merging this pull request may close these issues.

None yet

3 participants
You can’t perform that action at this time.