actions: pull-request: assert the existence of contexts

and not the existence of tokens
This commit is contained in:
Earl Warren 2024-03-26 08:31:26 +01:00
parent 8b6609ac4b
commit 36456ee74f
No known key found for this signature in database
GPG key ID: 0579CB2928A78A00

View file

@ -1,11 +0,0 @@
#!/bin/bash
set -ex
c=$d/contexts
test opened = "$(jq -r .event.action < $c/fork-org/pull_request/github)"
test opened = "$(jq -r .event.action < $c/fork-org/pull_request_target/github)"
test opened = "$(jq -r .event.action < $c/root/pull_request/github)"
test opened = "$(jq -r .event.action < $c/root/pull_request_target/github)"