runner/.forgejo
Earl Warren ad90bb4b68
Revert "fix: also cascade if run-*-test is set when the PR is open (#948)" (#950)
This reverts commit 1178cf6d24.

This was an incorrect fix to a different problem. The `labeled` event is run when a pull request is opened. Adding an `opened` event will just needlessly duplicate the runs.

The actual problem was me assuming too quickly that a short runtime (15s) indicated that the cascade was not run.

This is what happened at https://code.forgejo.org/forgejo/runner/pulls/935

- the cascade is run https://code.forgejo.org/forgejo/runner/pulls/935#issuecomment-57986
- the duration is very short because the commit status is set [by the last event (closed)](https://code.forgejo.org/forgejo/runner/actions/runs/9344/jobs/0#jobstep-1-12)
  ![image](/attachments/2aecc2f6-8fc0-4778-91c3-de689808a30e)

<!--start release-notes-assistant-->
<!--URL:https://code.forgejo.org/forgejo/runner-->
- other
  - [PR](https://code.forgejo.org/forgejo/runner/pulls/950): <!--number 950 --><!--line 0 --><!--description UmV2ZXJ0ICJmaXg6IGFsc28gY2FzY2FkZSBpZiBydW4tKi10ZXN0IGlzIHNldCB3aGVuIHRoZSBQUiBpcyBvcGVuICgjOTQ4KSI=-->Revert "fix: also cascade if run-*-test is set when the PR is open (#948)"<!--description-->
<!--end release-notes-assistant-->

Reviewed-on: https://code.forgejo.org/forgejo/runner/pulls/950
Co-authored-by: Earl Warren <contact@earl-warren.org>
Co-committed-by: Earl Warren <contact@earl-warren.org>
2025-09-08 00:14:44 +00:00
..
issue_template chore: redirect new feature requests to a dedicated tracker (take 2) 2025-07-08 16:26:20 +02:00
testdata feat: support for forgejo-exec --var (#645) 2025-07-03 16:37:30 +00:00
workflows Revert "fix: also cascade if run-*-test is set when the PR is open (#948)" (#950) 2025-09-08 00:14:44 +00:00
cascading-forgejo chore: cascade forgejo pull request out of the runner branch or PR (followup) 2025-08-18 12:49:23 +02:00
cascading-setup-forgejo chore: unify cascade-setup-forgejo with cascade-forgejo (take 2) 2025-08-29 11:17:40 +02:00
labelscompare.py chore: change the license to GPLv3-or-later (#773) 2025-09-04 09:26:12 +00:00