ci: reword the advisory license workflow (the bot adds a separate commit, it never amends)
This commit is contained in:
@@ -3,8 +3,9 @@ name: license-headers
|
|||||||
# Advisory license check.
|
# Advisory license check.
|
||||||
#
|
#
|
||||||
# The Dcntrlized license bot (the webhook service in this repository) is the
|
# The Dcntrlized license bot (the webhook service in this repository) is the
|
||||||
# authority: it amends the missing AGPL headers into the pull request's head
|
# authority: it adds the missing AGPL headers in a separate commit on top of the
|
||||||
# commit and reports the `license-bot / addlicense` commit status. This workflow
|
# pull request head and reports the `license-bot / addlicense` commit status.
|
||||||
|
# This workflow
|
||||||
# duplicates the check read-only so a pull request still shows an honest signal
|
# duplicates the check read-only so a pull request still shows an honest signal
|
||||||
# when the bot is unavailable. It holds no secrets, never writes, and must not
|
# when the bot is unavailable. It holds no secrets, never writes, and must not
|
||||||
# be made a required check: Gitea evaluates a pull request's workflows from the
|
# be made a required check: Gitea evaluates a pull request's workflows from the
|
||||||
@@ -100,7 +101,7 @@ jobs:
|
|||||||
echo "::error::This pull request adds files without an AGPL-3.0 header:"
|
echo "::error::This pull request adds files without an AGPL-3.0 header:"
|
||||||
cat /tmp/missing.txt
|
cat /tmp/missing.txt
|
||||||
echo ""
|
echo ""
|
||||||
echo "The license bot normally amends these into your commit automatically."
|
echo "The license bot normally adds these in a separate commit automatically."
|
||||||
echo "If it did not, copy the header from .license-header.tpl and push again."
|
echo "If it did not, copy the header from .license-header.tpl and push again."
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user