Skip to content

feat: schema updates (adds custom_properties field) to branch_protection_rule, check_suite, code_scanning_alert, commit_comment, create, delete, dependabot_alert, deploy_key, deployment, deployment_review, deployment_status, discussion, disscussion_comment, fork, gollum, issue_comment, issues, label, member, merge_group, meta, milestone, package, page_build. ping, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, pull_request_review_thread, push, registry_package, release, repository, repository_dispatch, repository_import, repository_vulnerability_alert, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_job, workflow_run, branch_protection_configuration, common, custom_property, custom_property_values #2267

feat: schema updates (adds custom_properties field) to branch_protection_rule, check_suite, code_scanning_alert, commit_comment, create, delete, dependabot_alert, deploy_key, deployment, deployment_review, deployment_status, discussion, disscussion_comment, fork, gollum, issue_comment, issues, label, member, merge_group, meta, milestone, package, page_build. ping, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, pull_request_review_thread, push, registry_package, release, repository, repository_dispatch, repository_import, repository_vulnerability_alert, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_job, workflow_run, branch_protection_configuration, common, custom_property, custom_property_values

feat: schema updates (adds custom_properties field) to branch_protection_rule, check_suite, code_scanning_alert, commit_comment, create, delete, dependabot_alert, deploy_key, deployment, deployment_review, deployment_status, discussion, disscussion_comment, fork, gollum, issue_comment, issues, label, member, merge_group, meta, milestone, package, page_build. ping, project, project_card, project_column, public, pull_request, pull_request_review, pull_request_review_comment, pull_request_review_thread, push, registry_package, release, repository, repository_dispatch, repository_import, repository_vulnerability_alert, secret_scanning_alert, star, status, team, team_add, watch, workflow_dispatch, workflow_job, workflow_run, branch_protection_configuration, common, custom_property, custom_property_values #2267

Workflow file for this run

name: Test
"on":
push:
branches:
- main
- dependabot/npm_and_yarn/**
pull_request:
types:
- opened
- synchronize
jobs:
npmCi:
name: CI Checks
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm test
typecheck:
name: Type Check
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm ci
- run: cd payload-examples && npm i && cd ..
- run: npm run typecheck
do-types-need-regenerating:
name: Do types need to be regenerated?
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm run build:schema
- run: npm run build:types
- run: git status
- run: |
git diff --exit-code || bash -c \
'echo "::error file=schema.d.ts::This needs to be regenerated by running \`build:types\`" && false'
do-examples-need-regenerating:
name: Do examples need to be regenerated?
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@b4ffde65f46336ab88eb53be808477a3936bae11 # v4
- uses: actions/setup-node@v4
with:
node-version: 18
cache: npm
- run: npm ci
- run: npm run build:webhooks -- --check --cached
- run: git status
- run: |
git diff --exit-code || bash -c \
'echo "::error file=api.github.com/index.json::This needs to be regenerated by running \`build:webhooks -- --cached\`" && false'