Skip to content

Could be the purchase delegate exists without marking it as Objc and not inherent from NSObject (for example AnyObject) #10

Could be the purchase delegate exists without marking it as Objc and not inherent from NSObject (for example AnyObject)

Could be the purchase delegate exists without marking it as Objc and not inherent from NSObject (for example AnyObject) #10

name: Trigger All Tests
on:
issue_comment:
types: [created]
jobs:
trigger-circleci:
runs-on: ubuntu-latest
if: |
${{ github.event.issue.pull_request }} &&
github.event.comment.body == '@RCGitBot please test'
steps:
- name: Check membership in RevenueCat Org
id: verify
# ensure that only RevenueCat members can trigger this
run: |
RESPONSE=$(curl https://api.github.com/orgs/RevenueCat/members/${{ github.event.comment.user.login }})
if [[ "$RESPONSE" == *"Not Found"* ]]; then
echo "User is not a member of the organization"
exit 1
fi
echo "User is a member of the organization"
- name: Trigger CircleCI workflow
id: trigger_circleci_workflow
if: success()
uses: CircleCI-Public/[email protected]
with:
GHA_Action: "run-from-github-comments"
env:
CCI_TOKEN: ${{ secrets.CIRCLECI_TOKEN }}