diff --git a/.github/pull_request_template.md b/.github/pull_request_template.md index dc0794ae..e2327ae4 100644 --- a/.github/pull_request_template.md +++ b/.github/pull_request_template.md @@ -11,18 +11,18 @@ Resolves #ISSUE_NUMBER ### Before the change? -* +* ### After the change? -* +* ### Other information -* +* ---- @@ -36,20 +36,20 @@ Resolves #ISSUE_NUMBER ### Does this introduce a breaking change? -Please see our docs on [breaking changes](https://github.com/octokit/.github/blob/master/community/breaking_changes.md) to help! +Please see our docs on [breaking changes](https://github.com/octokit/.github/blob/main/community/breaking_changes.md) to help! - [ ] Yes (Please add the `Type: Breaking change` label) - [ ] No -If `Yes`, what's the impact: +If `Yes`, what's the impact: * N/A ### Pull request type - - + + Please add the corresponding label for change this PR introduces: - Bugfix: `Type: Bug` diff --git a/.github/workflows/codeql-analysis.yml b/.github/workflows/codeql-analysis.yml index f9963f9d..a8e0c35e 100644 --- a/.github/workflows/codeql-analysis.yml +++ b/.github/workflows/codeql-analysis.yml @@ -2,10 +2,10 @@ name: CodeQL "on": push: branches: - - master + - main pull_request: branches: - - master + - main schedule: - cron: 28 11 * * 6 jobs: diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3769e2ad..b8ec2088 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -2,7 +2,7 @@ name: Release "on": push: branches: - - master + - main - next - beta - v*.x diff --git a/README.md b/README.md index 9efae419..9919358b 100644 --- a/README.md +++ b/README.md @@ -711,7 +711,7 @@ emitterEventNames; // ["check_run", "check_run.completed", ...] ## TypeScript -The types for the webhook payloads are sourced from [`@octokit/webhooks-types`](https://github.com/octokit/webhooks/tree/master/payload-types), +The types for the webhook payloads are sourced from [`@octokit/webhooks-types`](https://github.com/octokit/webhooks/tree/main/payload-types), which can be used by themselves. In addition to these types, `@octokit/webhooks` exports 2 types specific to itself: diff --git a/package.json b/package.json index 42eb5987..cf28a698 100644 --- a/package.json +++ b/package.json @@ -18,6 +18,15 @@ }, "prettier": {}, "release": { + "branches": [ + "+([0-9]).x", + "main", + "next", + { + "name": "beta", + "prerelease": true + } + ], "plugins": [ "@semantic-release/commit-analyzer", "@semantic-release/release-notes-generator",