Skip to content

Commit 7dcc7aa

Browse files
committed
Remove alpha section from CHANGELOG
Don't require changesets when you set a label (easier than `changeset --empty`) and skip the CI faster.
1 parent 6a0411a commit 7dcc7aa

File tree

2 files changed

+9
-9
lines changed

2 files changed

+9
-9
lines changed

.github/workflows/ci.yml

Lines changed: 9 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,14 @@
11
name: CI
22

33
on:
4-
- pull_request
5-
- workflow_dispatch
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- synchronize
9+
# So you can add a label to make it run, including no-changeset-needed
10+
- labeled
11+
- unlabeled
612

713
jobs:
814
build-and-test:
@@ -62,11 +68,11 @@ jobs:
6268
changeset:
6369
runs-on: ubuntu-latest
6470
name: Changesets
71+
if: ${{ (! startsWith(github.head_ref, 'changeset-release/')) && (!contains(github.event.pull_request.labels.*.name, 'no-changeset-needed')) }}
6572
steps:
6673
- uses: actions/checkout@v4
6774
with:
6875
# This makes Actions fetch all Git history so that Changesets can generate changelogs with the correct commits
6976
fetch-depth: 0
7077
- uses: ./.github/actions/node
7178
- run: npm run changeset-check
72-
if: ${{ ! startsWith(github.head_ref, 'changeset-release/') }}

CHANGELOG.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,6 @@
66

77
- [#17](https://github.com/apollo-server-integrations/apollo-server-integration-express5/pull/17) [`94ea6bc`](https://github.com/apollo-server-integrations/apollo-server-integration-express5/commit/94ea6bc12aa20c583da15f440d3059ecd3c946a1) Thanks [@glasser](https://github.com/glasser)! - The package is now built for both CJS and ESM, instead of only for CJS; this is the same build approach taken by `@apollo/server`. This provides better compatibility with ESM-based build systems.
88

9-
## 1.1.0-alpha.0
10-
11-
### Minor Changes
12-
13-
- [#17](https://github.com/apollo-server-integrations/apollo-server-integration-express5/pull/17) [`94ea6bc`](https://github.com/apollo-server-integrations/apollo-server-integration-express5/commit/94ea6bc12aa20c583da15f440d3059ecd3c946a1) Thanks [@glasser](https://github.com/glasser)! - The package is now built for both CJS and ESM, instead of only for CJS; this is the same build approach taken by `@apollo/server`. This provides better compatibility with ESM-based build systems.
14-
159
## 1.0.0
1610

1711
### Major Changes

0 commit comments

Comments
 (0)