Skip to content

Commit 333d5bb

Browse files
committed
openkal-compat: a measurement requested on another branch proposes nothing
1 parent 3acfce2 commit 333d5bb

1 file changed

Lines changed: 3 additions & 2 deletions

File tree

‎.github/workflows/openkal-compat.yml‎

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -134,11 +134,12 @@ jobs:
134134
print(f"| {m} | {t} | {rec['status']} | {d} |")
135135
PY
136136
137-
# Only this job may write, and it does not run for a pull request.
137+
# Only this job may write. It runs for the default branch only, never for a
138+
# pull request or a measurement requested on another branch.
138139
propose:
139140
name: propose the measurement
140141
needs: measure
141-
if: needs.measure.outputs.members != '' && github.event_name != 'pull_request' && github.event.inputs.members == ''
142+
if: needs.measure.outputs.members != '' && github.event_name != 'pull_request' && github.event.inputs.members == '' && github.ref == 'refs/heads/main'
142143
runs-on: ubuntu-24.04
143144
permissions:
144145
contents: write

0 commit comments

Comments
 (0)