Bench for sql scan #503
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: CI | |
on: | |
pull_request: | |
types: [opened, synchronize] | |
permissions: read-all | |
jobs: | |
check_membership: | |
name: Contributor Membership Check | |
runs-on: spacetimedb-runner | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Node.js | |
uses: actions/setup-node@v2 | |
with: | |
node-version: '16' | |
- name: Install dependencies | |
run: | | |
npm install @octokit/rest @actions/core @actions/github node-fetch | |
- name: Verify author is contributor | |
run: node .github/scripts/checkMembership.mjs | |
env: | |
GITHUB_TOKEN: ${{ secrets.ORG_READ_TOKEN }} | |