Commit graph

97 commits

Author SHA1 Message Date
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
dae1d3475c
Merge pull request #47 from iamstarkov/feat/CI_PR_NUMBER
Expose pull request id as CI_PR_NUMBER and CI_PR_ID
2022-07-07 21:36:26 +02:00
Franz Diebold
010b249190 Update demo. 2022-07-07 21:17:55 +02:00
Franz Diebold
b21b36d32c Update version and dependencies. 2022-07-07 19:11:50 +00:00
Vladimir Starkov
16fae302af add printing CI_PR_NUMBER and CI_PR_ID into the demo workflow 2022-07-06 23:07:12 +02: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
3ca94d3749
Merge pull request #46 from FranzDiebold/chore/add-funding
Add GitHub sponsors funding.
2022-04-13 20:52:49 +02:00
Franz Diebold
c6a8cb2061 Add GitHub sponsors funding. 2022-04-13 20:51:39 +02:00
Franz Diebold
3f6bf3969a
Merge pull request #45 from FranzDiebold/feat/v2-3-1
Feat/v2.3.1
2022-01-18 08:35:20 +01:00
Franz Diebold
3afae2c90f Update dependencies. 2022-01-18 07:34:20 +00:00
Franz Diebold
14adaf33e9 Update version. 2022-01-17 12:58:17 +00:00
Franz Diebold
4f9edd3995 Update dependencies. 2022-01-17 12:57:49 +00:00
Franz Diebold
e47963f4ae Add devcontainer. 2022-01-17 12:55:53 +00:00
Franz Diebold
20f2d338e3
Merge pull request #44 from FranzDiebold/feat/add-stale-config
Add stale config
2021-11-13 16:57:15 +01:00
Franz Diebold
0995b287ab Add stale config to automatically mark issues as stale due to inactivity. 2021-11-13 16:55:56 +01:00
Franz Diebold
b9b3a88cfa
Merge pull request #39 from FranzDiebold/feat/add-pr-env-vars
Add pull request infos to environment variables.
2021-05-03 10:26:03 +02:00
Franz Diebold
8551cab55e Add pull request infos to environment variables. 2021-05-03 10:24:10 +02:00
Franz Diebold
3bfb88dbb2
Merge pull request #38 from FranzDiebold/v-2-2-0
v2.2.0
2021-05-02 20:24:35 +02:00
Franz Diebold
ff17a180a3 Update dependencies. 2021-05-02 20:14:16 +02:00
Franz Diebold
cfc78df6fa
Merge pull request #35 from FranzDiebold/feat/remove-warnings
Remove warnings.
2021-05-02 20:12:25 +02:00
Franz Diebold
fe6a8b85a8 Fix linting error. 2021-05-02 20:11:22 +02:00
Franz Diebold
d28d8d0936
Merge pull request #37 from FranzDiebold/increase-version
Increase version
2021-05-02 20:08:02 +02:00
Franz Diebold
793c3f4799
Merge pull request #36 from FranzDiebold/feat/update-dependencies
Update dependencies.
2021-05-02 20:07:42 +02:00
Franz Diebold
7e25843c31 Increase version. 2021-05-02 20:02:22 +02:00
Franz Diebold
6aaef3be04 Increase version. 2021-05-02 20:01:24 +02:00
Franz Diebold
4766894759 Update dependencies. 2021-05-02 19:53:19 +02:00
Franz Diebold
7e0cd65d2a Remove warnings. 2021-05-02 19:50:33 +02:00
Franz Diebold
91b402b59e
Merge pull request #28 from FranzDiebold/feat/add-more-environment-variables
Add more environment variables.
2020-12-04 07:15:54 +01:00
Franz Diebold
b955ef30ad Add more environment variables. 2020-12-04 07:14:10 +01:00
Franz Diebold
4a75e8cecb
Merge pull request #27 from FranzDiebold/feat/improve-documentation
Improve documentation of CI_REF_* family.
2020-12-03 07:25:25 +01:00
Franz Diebold
68b422ce7d Improve documentation of CI_REF_* family. 2020-12-03 07:23:45 +01:00
Franz Diebold
406dcfc60a
Merge pull request #26 from FranzDiebold/feat/rename-env-vars
Feat/rename env vars
2020-12-01 14:50:09 +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
ca2b126210 Update version. 2020-11-30 20:35:02 +01:00
Franz Diebold
4454a4b968 Improve tests. 2020-11-30 20:33:02 +01:00
Franz Diebold
852ab6388c
Merge pull request #25 from FranzDiebold/feat/improve-demo-add-env-vars
Add GITHUB_RUN_NUMBER to demo.
2020-11-29 11:05:35 +01:00
Franz Diebold
ce3107a8d0 Add GITHUB_WORKFLOW to demo. 2020-11-29 10:10:05 +01:00
Franz Diebold
e7131d9dbb Add GITHUB_RUN_NUMBER to demo. 2020-11-29 07:40:21 +01:00
Franz Diebold
19a203d0af
Merge pull request #20 from FranzDiebold/feat/improve-demo-add-env-vars
Improve demo
2020-11-29 07:11:35 +01:00
Franz Diebold
5ec21e5014 Add more GitHub environment variables to demo. 2020-11-29 07:10:51 +01:00
Franz Diebold
b424438d8d Merge branch 'primary' into feat/improve-demo-add-env-vars 2020-11-28 08:08:32 +01:00
Franz Diebold
37dd509432
Merge pull request #23 from FranzDiebold/feat/add-more-env-vars
Feat/add more env vars
2020-11-28 07:56:14 +01:00
Franz Diebold
2f6b1c0bcd Update dist script. 2020-11-28 07:55:14 +01:00
Franz Diebold
04cdc475e6 Add required build dev dependency. 2020-11-28 07:55:01 +01:00
Franz Diebold
5ba218cf00
Merge pull request #22 from FranzDiebold/feat/add-more-env-vars
Add dist script.
2020-11-27 21:54:26 +01:00
Franz Diebold
5fb13a656f Add dist script. 2020-11-27 21:53:34 +01:00
Franz Diebold
599593b29b
Merge branch 'primary' into feat/improve-demo-add-env-vars 2020-11-27 21:18:32 +01:00
Franz Diebold
589fd970ee
Merge pull request #21 from FranzDiebold/feat/add-more-env-vars
Add more environment variables.
2020-11-27 17:10:53 +01:00
Franz Diebold
b3b0187d73 Add more environment variables. 2020-11-26 20:44:14 +01:00
Franz Diebold
60238dd3b7 Improve demo: Add more environment variables and also trigger on pull_request. 2020-11-25 15:38:58 +01:00