-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from chizmw/use-changesets
migrate to changesets (from changie)
- Loading branch information
Showing
27 changed files
with
2,272 additions
and
260 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Empty file.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Changesets | ||
|
||
Hello and welcome! This folder has been automatically generated by `@changesets/cli`, a build tool that works | ||
with multi-package repos, or single-package repos to help you version and publish your code. You can | ||
find the full documentation for it [in our repository](https://github.com/changesets/changesets) | ||
|
||
We have a quick list of common questions to get you started engaging with this project in | ||
[our documentation](https://github.com/changesets/changesets/blob/main/docs/common-questions.md) |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
{ | ||
"$schema": "https://unpkg.com/@changesets/[email protected]/schema.json", | ||
"changelog": [ | ||
"@svitejs/changesets-changelog-github-compact", | ||
{ "repo": "chizmw/json-on-the-clocktower" } | ||
], | ||
"commit": true, | ||
"fixed": [], | ||
"linked": [], | ||
"access": "restricted", | ||
"baseBranch": "main", | ||
"updateInternalDependencies": "patch", | ||
"ignore": [] | ||
} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'json-on-the-clocktower': patch | ||
--- | ||
|
||
add missing pytest dependency |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
'json-on-the-clocktower': patch | ||
--- | ||
|
||
migrate to changesets (from changie) |
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,35 @@ | ||
--- | ||
# .github/workflows/auto-author-assign.yml | ||
name: Peek At Changelog Info | ||
|
||
# yamllint disable-line rule:truthy | ||
on: | ||
- pull_request | ||
|
||
jobs: | ||
changelog-peek: | ||
name: Changeset Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
|
||
- name: Get Change Info | ||
uses: chizmw/[email protected] | ||
id: get-changelog-entry | ||
|
||
- name: Show Change Info | ||
shell: bash | ||
# yamllint disable rule:line-length | ||
run: | | ||
cat <<'EOInfo' >> $GITHUB_STEP_SUMMARY | ||
## Last Change Entry | ||
```markdown | ||
${{ steps.get-changelog-entry.outputs.last-change-entry }} | ||
``` | ||
EOInfo | ||
- name: Fail If Empty | ||
if: steps.get-changelog-entry.outputs.last-change-entry == '' | ||
run: exit |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
--- | ||
name: Changeset Release | ||
|
||
# yamllint disable rule:truthy | ||
on: | ||
push: | ||
branches: | ||
- main | ||
|
||
concurrency: ${{ github.workflow }}-${{ github.ref }} | ||
|
||
permissions: read-all | ||
|
||
jobs: | ||
release: | ||
# IMPORTANT: prevent this action from running on forks | ||
if: github.repository == 'chizmw/changeset-sandbox' | ||
permissions: | ||
contents: write # to create release (changesets/action) | ||
pull-requests: write # to create pull request (changesets/action) | ||
name: Changeset Release | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Checkout Repo | ||
uses: actions/checkout@v3 | ||
with: | ||
token: ${{ secrets.CHANGESETS_TOKEN }} | ||
|
||
- name: Setup Node.js | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: 18 | ||
|
||
- name: Install Dependencies | ||
run: yarn | ||
|
||
- name: Create Release Pull Request | ||
id: changesets | ||
uses: changesets/action@v1 | ||
env: | ||
GITHUB_TOKEN: ${{ secrets.CHANGESETS_TOKEN }} | ||
with: | ||
title: Release Changeset (bake CHANGELOG.md) | ||
|
||
- name: Push Tags | ||
# https://github.com/changesets/action#custom-publishing | ||
if: steps.changesets.outputs.hasChangesets == 'false' | ||
shell: bash | ||
run: | | ||
version="$(cat package.json | jq -r '.version')" | ||
git tag "v$version" | ||
git push --tags |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.