Commit graph

25 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
010b249190 Update demo. 2022-07-07 21:17:55 +02: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
Franz Diebold
4f9edd3995 Update dependencies. 2022-01-17 12:57:49 +00:00
Franz Diebold
8551cab55e Add pull request infos to environment variables. 2021-05-03 10:24:10 +02:00
Franz Diebold
b955ef30ad Add more environment variables. 2020-12-04 07:14:10 +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
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
5ec21e5014 Add more GitHub environment variables to demo. 2020-11-29 07:10:51 +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
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
Franz Diebold
177aacf8f5 Update to new exportVariable function. 2020-10-05 08:54:23 +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
2bee436a73 Improve demo. 2020-07-14 13:10:38 +02:00
Franz Diebold
d31480152b Improve demo. 2020-07-14 13:09:14 +02:00
Franz Diebold
f9ddd786cd Improve demo. 2020-07-14 13:02:41 +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
c68761b2a5 Fix demo. 2020-07-13 13:47:42 +02:00
Franz Diebold
8310262708 Fix demo. 2020-07-13 13:42:32 +02:00
Franz Diebold
a7085b84c7 Add demo. 2020-07-13 13:39:14 +02:00