- Fix a typo in the cron expression for the codeql.yml workflow
- Update the version of the actions/checkout action in the codeql.yml workflow
- Update the version of the docker/login-action in the docker.yml workflow
- Update the version of the docker/metadata-action in the docker.yml workflow
- Update the version of the actions/checkout action in the goreleaser.yml workflow
- Update the version of the actions/checkout action in the lint.yml workflow
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Update the version of Go to 1.20 in the go.mod file
- Update the version of github.com/appleboy/drone-template-lib to v1.3.0 in the go.mod file
- Update the version of github.com/joho/godotenv to v1.5.1 in the go.mod file
- Update the version of github.com/stretchr/testify to v1.8.4 in the go.mod file
- Update the version of github.com/urfave/cli to v1.22.14 in the go.mod file
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
- Add a new file `.github/FUNDING.yml`
- Add a new file `.github/dependabot.yml`
- Add a new file `.github/workflows/codeql.yml`
- Add a new file `.github/workflows/docker.yml`
- Add a new file `.github/workflows/goreleaser.yml`
- Add a new file `.github/workflows/lint.yml`
- Add a new file `docker/Dockerfile`
- Delete the file `docker/Dockerfile.linux.amd64`
- Delete the file `docker/Dockerfile.linux.arm`
- Delete the file `docker/Dockerfile.linux.arm64`
- Delete the file `docker/Dockerfile.windows.amd64`
- Delete the file `docker/manifest.tmpl`
Signed-off-by: Bo-Yi Wu <appleboy.tw@gmail.com>
* Create a constant for 'markdown' formatting style, to reduce duplicated strings and make the code less error-prone
* Unescape HTML entities from text messages
* Fix DOCS.md example configuration with custom message from file
* Move .test.message to a better named file
* Add support for additional, custom extra vars to be used in the message template
* Add cmdline/envvars to support the extra vars
* Enhance DOCS.md with example configuration using generic template file with custom vars
* Add testcase for custom template vars
* Add support for external message loaded from the file specified in Config.MessageFile
* Enable the message file option in command line/env vars
* Update docs
* Add a testcase
* Fix YAML tag in DOCS.md from 'messageFile' to 'message_file', as is commonly used in Drone
* Remove unintended blank line
* Move .test.message file to tests/ folder