Create or update the pull request branch
/usr/bin/git symbolic-ref HEAD --short
master
Working base is branch 'master'
/usr/bin/git checkout --progress -B 7a7933b5-ccd5-4ecd-8447-70a6b72ee885 HEAD --
Switched to a new branch '7a7933b5-ccd5-4ecd-8447-70a6b72ee885'
M test/config/ldap/openldap/schemas/postfix-book.ldif
M test/config/templates/dovecot-masters.cf
M test/config/templates/postfix-accounts.cf
/usr/bin/git status --porcelain -unormal --
M test/config/ldap/openldap/schemas/postfix-book.ldif
M test/config/templates/dovecot-masters.cf
M test/config/templates/postfix-accounts.cf
Uncommitted changes found. Adding a commit.
/usr/bin/git add -A
warning: in the working copy of 'test/config/ldap/openldap/schemas/postfix-book.ldif', CRLF will be replaced by LF the next time Git touches it
warning: in the working copy of 'test/config/templates/dovecot-masters.cf', CRLF will be replaced by LF the next time Git touches it
warning: in the working copy of 'test/config/templates/postfix-accounts.cf', CRLF will be replaced by LF the next time Git touches it
/usr/bin/git -c author.name=github-actions[bot] -c author.email=41898282+github-actions[bot]@users.noreply.github.com -c committer.name=github-actions[bot] -c committer.email=41898282+github-actions[bot]@users.noreply.github.com commit -m docs: update `CONTRIBUTORS.md` --signoff
[7a7933b5-ccd5-4ecd-8447-70a6b72ee885 3[57](https://github.com/docker-mailserver/docker-mailserver/actions/runs/6287887262/job/17072802215#step:6:63)8b7b] docs: update `CONTRIBUTORS.md`
3 files changed, 18 insertions(+), 18 deletions(-)
From https://github.com/docker-mailserver/docker-mailserver
* [new branch] contributors-update -> origin/contributors-update
Pull request branch 'contributors-update' already exists as remote branch 'origin/contributors-update'
/usr/bin/git checkout --progress contributors-update --
Switched to branch 'contributors-update'
M test/config/ldap/openldap/schemas/postfix-book.ldif
M test/config/templates/dovecot-masters.cf
M test/config/templates/postfix-accounts.cf
/usr/bin/git rev-list --right-only --count master...7a7933b5-ccd5-4ecd-8447-70a6b72ee885
1
/usr/bin/git rev-list --right-only --count master...contributors-update
0
/usr/bin/git diff --quiet contributors-update..7a7933b5-ccd5-4ecd-8447-70a6b72ee885
Resetting 'contributors-update'
/usr/bin/git checkout --progress -B contributors-update 7a7933b5-ccd5-4ecd-8447-70a6b72ee885 --
error: Your local changes to the following files would be overwritten by checkout:
test/config/ldap/openldap/schemas/postfix-book.ldif
test/config/templates/dovecot-masters.cf
test/config/templates/postfix-accounts.cf
Please commit your changes or stash them before you switch branches.
Aborting
Error: The process '/usr/bin/git' failed with exit code 1
Description
The
contributors.ymlscheduled workflow recently failed which caught a mishap (my fault) withCRLFline endings committed in these files:test/config/ldap/openldap/schemas/postfix-book.ldiftest/config/templates/dovecot-masters.cftest/config/templates/postfix-accounts.cfInsights:
.gitattributeswas added to prevent files checking inCRLFline endings.linting.ymlworkflow did not catch this mistake either (even though config implies it should have).make lintactually uses thisecrc.jsonconfig instead which excludes linting thetest/directory.test/folder was excluded by: chore(ci): Linting Improved #2000Logs
Contributors failing workflow log
https://github.com/docker-mailserver/docker-mailserver/actions/runs/6287887262/job/17072802215#step:6:53
https://github.com/docker-mailserver/docker-mailserver/actions/runs/6287887262/job/17072802215#step:6:487
Example of ECLint successfully catching this rule elsewhere
target/folder: breaking(feat): Config Templates for LDAP support #3524 (comment).gitattributesPR comment referencing it as justification for why the config was worth making explicit in git: fix: Ensure files are committed witheol=lfvia.gitattributes#3527 (comment)Workflow log:
https://github.com/docker-mailserver/docker-mailserver/actions/runs/6070286374/job/16466057026#step:5:24