lean4-htt/.github/workflows
Joachim Breitner eefcbbb37b
chore: pr-release.yaml: indicate information using github status (#3137)
When looking at a PR I sometimes wonder which `nightly` release is this
based on, and is used for the mathlib testing.

Right now, the action uses a label (`toolchain-available`) for this, but
a label cannot easily carry more information.

It seems a rather simple way to communicate extra information is by
setting [commit
statuses](https://docs.github.com/en/rest/commits/statuses?apiVersion=2022-11-28#create-a-commit-status);
with this change the following statuses will appear in the PR:


![statusses](https://github.com/leanprover/lean4/assets/148037/e32a24da-065e-406a-adb3-8dca8c0f157f)

One could also use
[checks](https://docs.github.com/en/rest/checks/runs?apiVersion=2022-11-28#create-a-check-run)
to add more information, even with a nicely formatted markdown
description as in [this
example](https://github.com/nomeata/lean4/pull/1/checks?check_run_id=20165137082),
but it seems there you can’t set a summary that’s visible without an
extra click, and Github seems to associate these checks to “the first
workflow”, which is odd. So using statuses seems fine here.

Often one uses bots writing PR comments for this purpose, but that's a
bit noisy (extra notifications etc.), especially for stuff that happens
on every PR, but isn’t always interesting/actionable

If this works well, we can use this for more pieces of information, and
a link can be added as well.
2024-01-08 06:44:01 +00:00
..
backport.yml chore: CI: add backport action 2023-09-25 11:33:14 +02:00
ci.yml chore: set warningAsError in CI only (#3030) 2023-12-06 08:18:39 +00:00
labels-from-comments.yml chore: CI: update github-script (#3002) 2023-12-01 08:39:51 +00:00
nix-ci.yml chore: Netlify deployment for manual (#3138) 2024-01-04 18:07:46 +00:00
pr-release.yml chore: pr-release.yaml: indicate information using github status (#3137) 2024-01-08 06:44:01 +00:00
pr-title.yml chore: CI: update github-script (#3002) 2023-12-01 08:39:51 +00:00
stale.yml chore: activate stale PR labeler 2023-09-20 09:18:46 +02:00
update-stage0.yml chore: allow updating stage0 via workflow_dispatch (#3052) 2023-12-14 22:46:32 +00:00