Skip to content

Apache Lucene open-source search software

[Minor] Document operation costs for stale workflow (#13000)

Stefan Vodita3674e779cb34
diff --git a/.github/workflows/stale.yml b/.github/workflows/stale.yml
index 472e29f9f38..698caa7b7d0 100644
--- a/.github/workflows/stale.yml
+++ b/.github/workflows/stale.yml
@@ -33,5 +33,18 @@ jobs:
If the PR is waiting for review, notify the [email protected] list.
Thank you for your contribution!
- operations-per-run: 500 # operations budget
debug-only: false # turn on to run the action without applying changes
+ operations-per-run: 500 # operations budget
+
+# The table shows the cost in operations of all combinations of stale / not-stale for a PR.
+# Processing a non-PR issue takes 0 operations, since we don't perform any action on it.
+#
+# +-----------------------+
+# number of | state after workflow |
+# operations +-----------+-----------+
+# | stale | not stale |
+# +----------+-----------+-----------+-----------+
+# | state | stale | 3 | 4 |
+# | before +-----------+-----------+-----------+
+# | workflow | not stale | 5 | 1 |
+# +----------+-----------+-----------+-----------+