Feature Request: Split the RevenueCat XCFramework into Separate UI and Core Frameworks #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 }} |