Franz Diebold
716ba0a711
Update lib version.
2022-09-23 06:45:48 +00:00
Franz Diebold
9d7426b893
Truncate slug values to 63 characters.
2022-09-11 14:19:45 +00:00
Franz Diebold
7759a762f5
Update Readme: Add newly added environment variables.
2022-07-17 20:51:31 +00:00
Franz Diebold
d1440854fc
Prepare for release.
2022-07-16 09:39:41 +00:00
Vladimir Starkov
e59d29ab3b
Expose an actual SHA for pull requests as CI_PR_SHA(_SHORT).
...
Default CI_SHA/GITHUB_SHA is the sha of _expect-to-be_ merge/squash/etc commit of the pull requests,
and it can be very confusing. If you mark you artifacts with it, its very hard to trace back what was the actual commit.
CI_PR_SHA is the way I solved it for my use cases and I can see im not the first one with this problem.
Fixes #30
2022-07-12 10:21:56 +02:00
Franz Diebold
b21b36d32c
Update version and dependencies.
2022-07-07 19:11:50 +00:00
Vladimir Starkov
ad0bd50c16
Expose pull request id as CI_PR_NUMBER and CI_PR_ID
...
Right now the closest this action offers `CI_REF_NAME_SLUG` which is `42-merge`, but its not clean and more importantly cannot be used in numerical contexts which would benefit from having that as `42`. if current event is not a pull-request, it should be empty
2022-07-05 17:39:22 +02:00
Franz Diebold
14adaf33e9
Update version.
2022-01-17 12:58:17 +00:00
Franz Diebold
8551cab55e
Add pull request infos to environment variables.
2021-05-03 10:24:10 +02:00
Franz Diebold
7e25843c31
Increase version.
2021-05-02 20:02:22 +02:00
Franz Diebold
b955ef30ad
Add more environment variables.
2020-12-04 07:14:10 +01:00
Franz Diebold
68b422ce7d
Improve documentation of CI_REF_* family.
2020-12-03 07:23:45 +01:00
Franz Diebold
5bb07c02c1
Rename environment variables to follow the naming conventions from GitHub.
2020-12-01 12:41:42 +01:00
Franz Diebold
b3b0187d73
Add more environment variables.
2020-11-26 20:44:14 +01:00
Franz Diebold
029a13fea0
Update version.
2020-10-05 09:03:51 +02:00
Franz Diebold
9184b3ea33
Improve documentation.
2020-07-16 11:38:13 +02:00
Franz Diebold
19929f6cd1
Add slug values.
2020-07-16 11:13:18 +02:00
Franz Diebold
d4fc571a0d
Improve documentation.
2020-07-15 17:41:22 +02:00
Franz Diebold
0d31798fc9
Improve documentation.
2020-07-14 12:11:40 +02:00
Franz Diebold
932bbbde38
Add tests and CI.
2020-07-14 12:06:58 +02:00
Franz Diebold
38d00ef958
Fix GitHub ref for branches with slash.
2020-07-14 10:27:45 +02:00
Franz Diebold
4ed868f203
Improve documentation.
2020-07-14 09:41:04 +02:00
Franz Diebold
07a62ac063
Improve documentation.
2020-07-13 13:42:56 +02:00
Franz Diebold
a7085b84c7
Add demo.
2020-07-13 13:39:14 +02:00
Franz Diebold
fba151b9d9
Switch to JavaScript action.
2020-07-13 12:12:00 +02:00
Franz Diebold
50fcc24a2c
Merge pull request #4 from FranzDiebold/docs/improve-readme
...
Add compatibility notice.
2020-07-04 17:59:17 +02:00
Franz Diebold
9da193b3c4
Add compatibility notice.
2020-07-04 17:58:28 +02:00
Priyanka Saggu
97be8087ce
correct example usage.
...
- `uses: franzdiebold@github-env-vars-action@v1.0.0`
It was throwing the following error:
```
Invalid workflow file
The workflow is not valid. .github/workflows/main.yml (Line: 94, Col: 13): Expected format {org}/{repo}[/path]@ref. Actual 'github-env-vars-action@v1.0.0',Input string was not in a correct format.
```
2020-05-08 20:27:35 +05:30
Franz Diebold
d550e1273f
Update version.
2020-02-11 13:14:12 +01:00
Franz Diebold
45e833f67e
Improve documentation.
2020-02-11 10:54:26 +01:00
Franz Diebold
dbbf375c45
Switch to a Docker container action.
2020-02-11 10:30:39 +01:00
Franz Diebold
e050e21c8f
Improve documentation.
2020-02-11 09:14:04 +01:00
Franz Diebold
e545f221ed
Improve description.
2020-02-10 22:53:24 +01:00
Franz Diebold
fc6622d8ba
Initial commit.
2020-02-10 22:41:27 +01:00