Compare commits

...

9 Commits
3.0.0 ... 3.1.0

Author SHA1 Message Date
semantic-release-bot
e4699e49fc chore(release): 3.1.0 [skip ci]
# [3.1.0](http://github.com/rlespinasse/github-slug-action/compare/3.0.0...3.1.0) (2020-11-01)

### Features

* **action:** improve marketplace information ([3cddc4f](3cddc4f12d))
2020-11-01 19:40:26 +00:00
Romain Lespinasse
3cddc4f12d feat(action): improve marketplace information 2020-11-01 20:39:24 +01:00
rlespinasse
d7817bf204 docs(contributing): improve issue links 2020-10-31 16:12:03 +01:00
Romain Lespinasse
4e3f956c5e docs: add contributing guide 2020-10-31 09:36:05 +01:00
Romain Lespinasse
f79727b5cc docs: improve master EOL section 2020-10-31 08:24:38 +01:00
Romain Lespinasse
a3c7c5c7a1 docs: use v3.x branch in example 2020-10-31 08:22:11 +01:00
rlespinasse
008aa6260d build: bump dev dependencies versions 2020-10-27 09:28:24 +01:00
rlespinasse
3c7ae42a01 ci: activate release on v3.x branch 2020-10-26 21:42:08 +01:00
Romain Lespinasse
ae2430ad57 docs(security): remove v1.1.x from supported versions 2020-10-26 21:29:58 +01:00
8 changed files with 610 additions and 1742 deletions

View File

@@ -1,9 +0,0 @@
version: 2
updates:
# Enable version updates for npm
- package-ecosystem: 'npm'
# Look for `package.json` and `lock` files in the `root` directory
directory: '/'
# Check the npm registry for updates every day (weekdays)
schedule:
interval: 'daily'

View File

@@ -1,3 +1,10 @@
# [3.1.0](http://github.com/rlespinasse/github-slug-action/compare/3.0.0...3.1.0) (2020-11-01)
### Features
* **action:** improve marketplace information ([3cddc4f](http://github.com/rlespinasse/github-slug-action/commit/3cddc4f12d7a6fdbb8b1221dc02a2c64670e54bf))
# [3.0.0](http://github.com/rlespinasse/github-slug-action/compare/2.1.0...3.0.0) (2020-10-26) # [3.0.0](http://github.com/rlespinasse/github-slug-action/compare/2.1.0...3.0.0) (2020-10-26)

33
CONTRIBUTING.md Normal file
View File

@@ -0,0 +1,33 @@
# How to contribute to GitHub Slug Action
## Did you find a bug
* **Do not open up a GitHub issue if the bug is a security vulnerability**, and instead to refer to our [security policy][1].
* **Ensure the bug was not already reported** by searching on GitHub under [Issues][2].
* If you're unable to find an open issue addressing the problem, [open a 'Bug' issue][4].
Be sure to include a **title and clear description**, as much relevant information as possible, and a **code sample** or an **executable test case** demonstrating the expected behavior that is not occurring.
## Did you write a patch that fixes a bug
* Open a new GitHub pull request with the patch.
* Ensure the PR description clearly describes the problem and solution.
Include the relevant issue number if applicable.
## Do you intend to add a new feature or change an existing one
* Suggest your change by [opening a 'Feature request' issue][5] and start writing code.
## Do you have questions about the source code
* [open a issue][3] with your question.
Thanks!
[1]: https://github.com/rlespinasse/github-slug-action/security/policy
[2]: https://github.com/rlespinasse/github-slug-action/issues
[3]: https://github.com/rlespinasse/github-slug-action/issues/new
[4]: https://github.com/rlespinasse/github-slug-action/issues/new?assignees=&labels=bug&template=bug_report.md&title=
[5]: https://github.com/rlespinasse/github-slug-action/issues/new?assignees=&labels=enhancement&template=feature_request.md&title=

View File

@@ -21,7 +21,7 @@ Others `Slug`-ish commands are available:
```yaml ```yaml
- name: Inject slug/short variables - name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v2.x uses: rlespinasse/github-slug-action@v3.x
- name: Print slug/short variables - name: Print slug/short variables
run: | run: |
@@ -103,7 +103,7 @@ In an URL, use `<GITHUB_VARIABLE>_SLUG_URL` instead of **<GITHUB_VARIABLE>\_SLUG
```yaml ```yaml
- name: Inject slug/short variables - name: Inject slug/short variables
uses: rlespinasse/github-slug-action@v2.x uses: rlespinasse/github-slug-action@v3.x
- name: Deploy dummy application using slug in the 'subdomain' part - name: Deploy dummy application using slug in the 'subdomain' part
run: | run: |
@@ -129,9 +129,11 @@ Download action repository 'rlespinasse/github-slug-action@master'
##[error]An action could not be found at the URI 'https://api.github.com/repos/rlespinasse/github-slug-action/tarball/master' ##[error]An action could not be found at the URI 'https://api.github.com/repos/rlespinasse/github-slug-action/tarball/master'
``` ```
Use the current branch `v2.x` or a version tag (see [releases pages][6]). Please, use the current branch `v3.x` or a version tag (see [releases pages][6]) in order to fix your workflow.
The master branch EOL is set on **2020-10-25** after a 6-month deprecation period (more information on the [EOL issue][7]) > The master branch don't exists anymore.
>
> The master branch EOL have been set to **2020-10-25** after a 6-month deprecation period (more information on the [EOL issue][7])
[1]: https://github.com/rlespinasse/github-slug-action/workflows/Build/badge.svg [1]: https://github.com/rlespinasse/github-slug-action/workflows/Build/badge.svg
[2]: https://github.com/rlespinasse/github-slug-action/actions [2]: https://github.com/rlespinasse/github-slug-action/actions

View File

@@ -6,8 +6,8 @@
|---------|--------|--------------------| |---------|--------|--------------------|
| 3.x | v3.x | :white_check_mark: | | 3.x | v3.x | :white_check_mark: |
| 2.x | v2.x | :white_check_mark: | | 2.x | v2.x | :white_check_mark: |
| 1.1.x | v1.1.x | :white_check_mark: | | 1.1.x | v1.1.x | :x: |
| < 1.0.x | master | :x: | | < 1.x | | :x: |
A GitHub repository can used one of the available branches as action inside its workflows. A GitHub repository can used one of the available branches as action inside its workflows.

View File

@@ -1,9 +1,9 @@
name: "GitHub Slug" name: "GitHub Slug Action"
description: "Action to slug and expose some github variables" description: "GitHub Action to expose slug value of environment variables inside your GitHub workflow"
author: 'rlespinasse' author: 'rlespinasse'
runs: runs:
using: 'node12' using: 'node12'
main: 'dist/index.js' main: 'dist/index.js'
branding: branding:
icon: "crop" icon: "minimize"
color: "orange" color: "blue"

2265
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@@ -31,19 +31,19 @@
"devDependencies": { "devDependencies": {
"@semantic-release/changelog": "5.0.1", "@semantic-release/changelog": "5.0.1",
"@semantic-release/git": "9.0.0", "@semantic-release/git": "9.0.0",
"@types/jest": "^26.0.10", "@types/jest": "^26.0.15",
"@types/node": "^14.6.0", "@types/node": "^14.14.3",
"@typescript-eslint/parser": "^3.9.1", "@typescript-eslint/parser": "^3.9.1",
"@vercel/ncc": "^0.23.0", "@vercel/ncc": "^0.23.0",
"eslint": "^7.5.0", "eslint": "^7.12.0",
"eslint-plugin-github": "^4.1.1", "eslint-plugin-github": "^4.1.1",
"eslint-plugin-jest": "^23.20.0", "eslint-plugin-jest": "^23.20.0",
"jest": "^26.4.2", "jest": "^26.6.1",
"jest-circus": "^26.4.1", "jest-circus": "^26.6.1",
"js-yaml": "^3.14.0", "js-yaml": "^3.14.0",
"prettier": "2.0.5", "prettier": "2.0.5",
"semantic-release": "17.0.7", "semantic-release": "17.0.7",
"ts-jest": "^26.3.0", "ts-jest": "^26.4.2",
"typescript": "^3.9.7" "typescript": "^3.9.7"
}, },
"release": { "release": {
@@ -56,8 +56,8 @@
"@semantic-release/github" "@semantic-release/github"
], ],
"branches": [ "branches": [
"v1.1.x", "v2.x",
"v2.x" "v3.x"
] ]
} }
} }