Patrick Ellis
4b5e01365c
Use in_progress workflow_job example, not queued ( #22880 )
...
* Use in_progress workflow_job example, not queued
### tl;dr
This changes the example `workflow_job` payload to be an `in_progress` event instead of `queued` event.
### why
In #22174 , I added some keys to the example workflow_job json. This was correct, but by adding non-null _values_, **I introduced a subtle bug**.
It's a bug because a `queued` workflow is—by definition—_not_ yet assigned to a runner. So all the `runner_*` attributes will be `null` in the real world.
After the workflow becomes `in_progress`, all the values are guaranteed to exist. So let's change the example to be an `in_progress` event, since it's a better example for documentation.
* Explain more about the runner_* attributes in "workflow_job_properties.md"
* Consistentize naming
Co-authored-by: Martin Lopes <martin389@github.com >
Co-authored-by: hubwriter <hubwriter@github.com >
2021-11-17 15:48:31 +00:00
..
2020-10-01 10:55:34 -04:00
2020-12-10 11:22:54 +10:00
2020-10-01 10:55:34 -04:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2020-11-23 12:01:14 -05:00
2021-10-15 15:41:33 -05:00
2020-11-23 12:01:14 -05:00
2021-04-20 15:28:57 +01:00
2021-10-15 15:41:33 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-09-27 14:10:11 +02:00
2021-10-15 15:41:33 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-13 10:02:08 +01:00
2020-10-13 10:02:08 +01:00
2021-10-15 15:41:33 -05:00
2021-06-24 10:21:07 -04:00
2020-10-01 10:55:34 -04:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2021-03-29 16:40:32 -05:00
2021-10-15 15:41:33 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2021-05-25 19:48:29 +00:00
2020-10-01 10:55:34 -04:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2021-02-18 08:55:08 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-04 14:38:38 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2021-10-15 15:41:33 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-10-01 16:43:01 -07:00
2020-10-01 10:55:34 -04:00
2020-11-04 14:38:39 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2021-10-15 15:41:33 -05:00
2020-10-01 10:55:34 -04:00
2021-06-24 10:21:07 -04:00
2020-10-01 10:55:34 -04:00
2020-10-13 10:02:08 +01:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2021-10-15 15:41:33 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2021-03-22 09:28:35 +00:00
2020-12-04 09:39:29 +10:00
2021-10-15 15:41:33 -05:00
2021-10-22 13:23:16 -07:00
2020-10-01 10:55:34 -04:00
2020-10-01 10:55:34 -04:00
2020-10-01 10:55:34 -04:00
2021-04-21 11:48:19 -07:00
2021-05-25 16:30:19 -07:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-11-23 12:01:14 -05:00
2020-10-01 10:55:34 -04:00
2020-11-23 12:01:14 -05:00
2020-09-27 14:10:11 +02:00
2020-10-01 10:55:34 -04:00
2021-10-22 13:23:16 -07:00
2021-03-17 14:47:37 +10:00
2021-11-17 15:48:31 +00:00
2021-09-20 13:29:16 -04:00
2021-03-17 05:10:43 +00:00
2021-03-17 14:47:37 +10:00