mirror of
https://github.com/rlespinasse/github-slug-action.git
synced 2026-06-30 01:46:42 +00:00
refactor: remove all node related files
This commit is contained in:
committed by
Romain Lespinasse
parent
4405613430
commit
e13c7fcc34
14
README.md
14
README.md
@@ -18,7 +18,6 @@ This GitHub Action will expose the slug/short values of [some GitHub environment
|
||||
- [Slug variables](#slug-variables)
|
||||
- [Slug URL variables](#slug-url-variables)
|
||||
- [Short variables](#short-variables)
|
||||
- [Contribute](#contribute)
|
||||
- [Troubleshooting](#troubleshooting)
|
||||
- [One of the environment variables doesn't work as intended](#one-of-the-environment-variables-doesnt-work-as-intended)
|
||||
- [An action could not be found at the URI](#an-action-could-not-be-found-at-the-uri)
|
||||
@@ -60,6 +59,15 @@ Add this in your workflow
|
||||
uses: rlespinasse/github-slug-action@v4.x
|
||||
```
|
||||
|
||||
Or with a prefix
|
||||
|
||||
```yaml
|
||||
- name: Inject slug/short variables
|
||||
uses: rlespinasse/github-slug-action@v4.x
|
||||
with:
|
||||
prefix: CI_
|
||||
```
|
||||
|
||||
Check for more [examples][examples] (OS usage, URL use, ...)
|
||||
|
||||
**Tip:** Use [Dependabot][dependabot] to maintain your `github-slug-action` version updated in your GitHub workflows.
|
||||
@@ -118,10 +126,6 @@ Check for more [examples][examples] (OS usage, URL use, ...)
|
||||
| [GITHUB_SHA_SHORT](docs/short-variables.md#github_sha_short) | GITHUB_SHA | The commit SHA that triggered the workflow. |
|
||||
| [GITHUB_EVENT<br>_PULL_REQUEST<br>_HEAD_SHA_SHORT](docs/short-variables.md#github_event_pull_request_head_sha_short) | _github.event<br>.pull_request<br>.head.sha_ | The commit SHA on pull request that trigger workflow.<br>Only set for [following webhook events][webhooks-and-events]<ul><li>`pull_request`</li><li>`pull_request_review`</li><li>`pull_request_review_comment`</li><li>`pull_request_target`</li></ul> |
|
||||
|
||||
## Contribute
|
||||
|
||||
Follow [Developers guide](DEVELOPERS.md)
|
||||
|
||||
## Troubleshooting
|
||||
|
||||
### One of the environment variables doesn't work as intended
|
||||
|
||||
Reference in New Issue
Block a user