-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from PlqnK/github-actions
Rework GitHub actions
- Loading branch information
Showing
5 changed files
with
79 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
name: 'Lint' | ||
|
||
on: | ||
pull_request: | ||
branches: | ||
- 'master' | ||
paths: | ||
- '**.sh' | ||
- '**.md' | ||
|
||
jobs: | ||
shellcheck: | ||
name: 'ShellCheck' | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- name: 'Run shellcheck' | ||
uses: 'azohra/shell-linter@master' | ||
with: | ||
path: '*.sh' | ||
env: | ||
SHELLCHECK_OPTS: '-x' | ||
markdown-lint: | ||
name: 'Markdown Lint' | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- name: 'Run markdownlint' | ||
uses: 'avto-dev/markdown-lint@master' | ||
with: | ||
args: '.' | ||
config: '.markdownlint.yml' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
--- | ||
name: 'Release' | ||
|
||
on: | ||
push: | ||
tags: | ||
- 'v*' | ||
|
||
jobs: | ||
publish: | ||
name: 'Publish' | ||
runs-on: 'ubuntu-latest' | ||
steps: | ||
- uses: 'actions/checkout@v2' | ||
- name: 'Create GitHub Release' | ||
uses: 'anton-yurchenko/git-release@v3.4.2' | ||
env: | ||
GITHUB_TOKEN: '${{ secrets.GITHUB_TOKEN }}' | ||
DRAFT_RELEASE: 'false' | ||
PRE_RELEASE: 'false' | ||
CHANGELOG_FILE: 'CHANGELOG.md' | ||
ALLOW_EMPTY_CHANGELOG: 'false' | ||
ALLOW_TAG_PREFIX: 'true' |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
--- | ||
MD013: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Changelog | ||
|
||
All notable changes to this project will be documented in this file. | ||
|
||
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). | ||
|
||
## [Unreleased] | ||
|
||
## [1.0.0] - 2020-11-02 | ||
|
||
Final release supporting FreeNAS 11.3! | ||
|
||
### Added | ||
|
||
- 3 system reports scripts (SMART, ZPool and UPS) | ||
- 1 config backup script | ||
- 2 information gathering script (CPU & drives temperature as well as drives identification) | ||
- A standalone bash function to format emails to be sent by the FreeNAS sendmail program | ||
|
||
[Unreleased]: https://github.com/PlqnK/freenas-useful-scripts/compare/v1.0.0...HEAD | ||
[1.0.0]: https://github.com/PlqnK/freenas-useful-scripts/releases/tag/v1.0.0 |