Skip to content

Commit 0059b68

Browse files
committed
20220720A
1 parent edf0938 commit 0059b68

File tree

12 files changed

+109
-105
lines changed

12 files changed

+109
-105
lines changed

.github/CODE_OF_CONDUCT.md

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,27 +2,27 @@
22

33
## Our Pledge
44

5-
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.
5+
We as members, contributors, and leaders pledge to make participation in our community a harassment-free experience for everyone, regardless of age, body size, visible or invisible disability, ethnicity, sex characteristics, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, caste, colo(u)r, religion, or sexual identity and orientation.
66

77
We pledge to act and interact in ways that contribute to an open, welcoming, diverse, inclusive, and healthy community.
88

99
## Our Standards
1010

1111
Examples of behavior that contributes to a positive environment for our community include:
1212

13-
- Demonstrating empathy and kindness toward other people
14-
- Being respectful of differing opinions, viewpoints, and experiences
15-
- Giving and gracefully accepting constructive feedback
16-
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience
17-
- Focusing on what is best not just for us as individuals, but for the overall community
13+
- Demonstrating empathy and kindness toward other people.
14+
- Being respectful of differing opinions, viewpoints, and experiences.
15+
- Giving and gracefully accepting constructive feedback.
16+
- Accepting responsibility and apologizing to those affected by our mistakes, and learning from the experience.
17+
- Focusing on what is best not just for us as individuals, but for the overall community.
1818

1919
Examples of unacceptable behavior include:
2020

21-
- The use of sexualized language or imagery, and sexual attention or advances of any kind
22-
- Trolling, insulting or derogatory comments, and personal or political attacks
23-
- Public or private harassment
24-
- Publishing others' private information, such as a physical or email address, without their explicit permission
25-
- Other conduct which could reasonably be considered inappropriate in a professional setting
21+
- The use of sexualized language or imagery, and sexual attention or advances of any kind.
22+
- Trolling, insulting or derogatory comments, and personal or political attacks.
23+
- Public or private harassment.
24+
- Publishing others' private information, such as a physical or email address, without their explicit permission.
25+
- Other conduct which could reasonably be considered inappropriate in a professional setting.
2626

2727
## Enforcement Responsibilities
2828

@@ -65,7 +65,7 @@ Community leaders will follow these Community Impact Guidelines in determining t
6565

6666
## Attribution
6767

68-
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.0, available at https://www.contributor-covenant.org/version/2/0/code_of_conduct.html.
68+
This Code of Conduct is adapted from the [Contributor Covenant](https://www.contributor-covenant.org), version 2.1, available at https://www.contributor-covenant.org/version/2/1/code_of_conduct.html.
6969

7070
Community Impact Guidelines were inspired by [Mozilla's code of conduct enforcement ladder](https://github.com/mozilla/diversity).
7171

.github/ISSUE_TEMPLATE/bug-report.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ body:
1818
description: "What versions are affected? Versions must be listed as supported in the Security Policy (/.github/SECURITY.md)."
1919
multiple: true
2020
options:
21+
- "v0.5.1"
2122
- "v0.5.0"
2223
- "v0.4.1"
2324
- "v0.4.0"

.github/SECURITY.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,9 @@
1313
1414
| **Tag / Version** | **Target** | **Support** |
1515
|:-:|:-:|:-:|
16-
| v0.X.X | PowerShell v7.2.0 | L |
16+
| v0.X.X | PowerShell v7.2.0 ||
17+
| v0.4.X | PowerShell v7.2.0 | 👎{🧓} |
18+
| v0.3.X | PowerShell v7.2.0 | 👎{🧓} |
1719
| v0.3.0 \~ v0.3.2 | PowerShell v7.2.0 | ❌{🐛🧓} |
1820
| v0.2.X | PowerShell v7.2.0 | ❌{🧓} |
1921
| < v0.2.X | PowerShell v7.2.0 | ❌{🐛🧓} |

.github/workflows/announce-new-release-discord.yml

Lines changed: 26 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,36 @@ jobs:
88
name: "Announce New Release - Discord"
99
runs-on: "ubuntu-latest"
1010
steps:
11-
- uses: "hugoalh/[email protected].0"
11+
- uses: "hugoalh/[email protected].2"
1212
with:
13-
key: "${{secrets.DISCORDWEBHOOK_HUGOALHSTUDIO_STUDIOANNOUNCEMENT_PROJECTNEWRELEASEANNOUNCER}}"
13+
key: "${{secrets.DISCORD_HXHS_PROJECTNEWRELEASEANNOUNCER_WEBHOOK}}"
1414
payload: |
15-
content: |
16-
**__GitHub Actions Toolkit (PowerShell)__**
17-
18-
Version ${{github.event.release.name}} (${{github.event.release.tag_name}}) is released and available on:
19-
20-
- **GitHub Repository Release (& Changelog):** <${{github.event.release.html_url}}>
21-
- **PowerShell Gallery:** <https://www.powershellgallery.com/packages/hugoalh.GitHubActionsToolkit>
2215
embeds:
23-
- description: |
24-
**__GitHub Actions Toolkit (PowerShell)__**
25-
26-
${{github.event.repository.description}}
16+
- title: "GitHub Actions Toolkit (PowerShell)"
17+
description: |
18+
> ${{github.event.repository.description}}
2719
28-
- **GitHub:** ${{github.event.repository.html_url}}
20+
Version ${{github.event.release.name}} (${{github.event.release.tag_name}}) just released!
2921
color: "44,85,145"
3022
thumbnail:
31-
url: "https://i.imgur.com/PRyLxK8.png"
23+
url: "https://i.imgur.com/OhKCMwk.png"
24+
fields:
25+
- name: "GitHub: ${{github.event.repository.full_name}}"
26+
value: "${{github.event.repository.html_url}}"
27+
inline: true
28+
- name: "GitHub Repository Release & Changelog"
29+
value: "${{github.event.release.html_url}}"
30+
inline: true
31+
- name: "PowerShell Gallery"
32+
value: "https://www.powershellgallery.com/packages/hugoalh.GitHubActionsToolkit"
33+
inline: true
34+
- name: "."
35+
value: "."
36+
inline: false
37+
- name: "Author"
38+
value: "${{github.event.release.author.login}}"
39+
inline: true
40+
- name: "Publish Time"
41+
value: "${{github.event.release.published_at}}"
42+
inline: true
3243
wait: "true"

.github/workflows/announce-new-release-ifttt.yml

Lines changed: 0 additions & 18 deletions
This file was deleted.

LICENSE.md

Lines changed: 25 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1,27 +1,35 @@
11
# MIT License
22

3-
© 2021\~2022 hugoalh Studio
3+
Copyright © 2021\~2022 hugoalh Studio
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
66

77
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
88

9-
The Software is provided "as is", without warranty of any kind, express or implied, including but not limited to the warranties of merchantability, fitness for a particular purpose and noninfringement. In no event shall the authors or copyright holders be liable for any claim, damages or other liability, whether in an action of contract, tort or otherwise, arising from, out of or in connection with the Software or the use or other dealings in the Software.
9+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
1010

1111
---
1212

13-
*This is a short and simple list that mostly concluded this license about the permissions 🟢, conditions 🔵, and limitations 🔴, this license content section shall prevail.*
14-
15-
- Commercial Use 🟢
16-
- Distribution 🟢
17-
- Modification 🟢
18-
- Patent Use
19-
- Private Use 🟢
20-
- Disclose Source
21-
- License & Copyright Notice 🔵
22-
- Network Use Is Distribution
23-
- Same License
24-
- State Changes
25-
- Liability 🔴
26-
- Trademark Use
27-
- Warranty 🔴
13+
## TLDR
14+
15+
This is a short and simple list that mostly concluded this license about the permissions, conditions, and limitations, this license content section shall prevail.
16+
17+
### Permissions
18+
19+
- **Commercial Use:** The licensed material and derivatives may be used for commercial purposes.
20+
- **Distribution:** The licensed material may be distributed.
21+
- **Modification:** The licensed material may be modified.
22+
- **Private Use:** The licensed material may be used and modified in private.
23+
24+
### Conditions
25+
26+
- **License & Copyright Notice:** A copy of the license and copyright notice must be included with the licensed material.
27+
28+
### Limitations
29+
30+
- **Liability:** This license includes a limitation of liability.
31+
- **Warranty:** This license explicitly states that it does not provide any warranty.
32+
33+
## Attribution
34+
35+
This license is adopted from [Choose A License](https://choosealicense.com/), available at [here](https://choosealicense.com/licenses/mit).

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
[![GitHub Forks](https://img.shields.io/github/forks/hugoalh-studio/ghactions-toolkit-powershell?label=Forks&logo=github&logoColor=ffffff&style=flat-square)](https://github.com/hugoalh-studio/ghactions-toolkit-powershell/network/members)
1010
![GitHub Languages](https://img.shields.io/github/languages/count/hugoalh-studio/ghactions-toolkit-powershell?label=Languages&logo=github&logoColor=ffffff&style=flat-square)
1111
[![CodeFactor Grade](https://img.shields.io/codefactor/grade/github/hugoalh-studio/ghactions-toolkit-powershell?label=Grade&logo=codefactor&logoColor=ffffff&style=flat-square)](https://www.codefactor.io/repository/github/hugoalh-studio/ghactions-toolkit-powershell)
12-
[![License](https://img.shields.io/static/v1?label=License&message=MIT&color=brightgreen&style=flat-square)](./LICENSE.md)
12+
[![License](https://img.shields.io/static/v1?label=License&message=MIT&style=flat-square)](./LICENSE.md)
1313

1414
| **Release** | **Latest** (![GitHub Latest Release Date](https://img.shields.io/github/release-date/hugoalh-studio/ghactions-toolkit-powershell?label=%20&style=flat-square)) | **Pre** (![GitHub Latest Pre-Release Date](https://img.shields.io/github/release-date-pre/hugoalh-studio/ghactions-toolkit-powershell?label=%20&style=flat-square)) |
1515
|:-:|:-:|:-:|

hugoalh.GitHubActionsToolkit/hugoalh.GitHubActionsToolkit.psd1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
RootModule = 'hugoalh.GitHubActionsToolkit.psm1'
44

55
# Version number of this module.
6-
ModuleVersion = '0.5.0'
6+
ModuleVersion = '0.5.1'
77

88
# Supported PSEditions
99
# CompatiblePSEditions = @()

hugoalh.GitHubActionsToolkit/module/environment-variable.psm1

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ Function Add-PATH {
4848
[System.Environment]::SetEnvironmentVariable('PATH', ((([System.Environment]::GetEnvironmentVariable('PATH') -isplit [System.IO.Path]::PathSeparator) + $Result) -join [System.IO.Path]::PathSeparator)) | Out-Null
4949
}
5050
'Subsequent' {
51-
If ($Null -ieq $Env:GITHUB_PATH) {
51+
If ([String]::IsNullOrWhiteSpace($Env:GITHUB_PATH)) {
5252
$Result | ForEach-Object -Process {
5353
Write-GitHubActionsCommand -Command 'add-path' -Value $_
5454
}
@@ -128,7 +128,7 @@ Function Set-EnvironmentVariable {
128128
}
129129
}
130130
'Subsequent' {
131-
If ($Null -ieq $Env:GITHUB_ENV) {
131+
If ([String]::IsNullOrWhiteSpace($Env:GITHUB_ENV)) {
132132
$Result.GetEnumerator() | ForEach-Object -Process {
133133
Write-GitHubActionsCommand -Command 'set-env' -Parameter @{ 'name' = $_.Name } -Value $_.Value
134134
}

hugoalh.GitHubActionsToolkit/module/nodejs-wrapper/package-lock.json

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)