end-to-end/actions/example-pull-request/assert-token.sh

12 lines
336 B
Bash
Raw Normal View History

2023-10-28 22:29:04 +02:00
#!/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)"