Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Commit

Permalink
refactor: add renovate, support non-releases (#340)
Browse files Browse the repository at this point in the history
  • Loading branch information
noahnu authored Apr 12, 2023
1 parent e90b748 commit d0d392f
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 789 deletions.
3 changes: 3 additions & 0 deletions .github/renovate.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"extends": ["github>tophat/new-project-kit//.github/renovate"]
}
5 changes: 3 additions & 2 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,7 @@ jobs:
if: github.base_ref != 'next'
run: yarn release:dry --git-base-branch origin/${{ github.base_ref }}
- name: Parse Changelog
continue-on-error: true
run: |
changelog_body=$(cat artifacts/CHANGELOG.md)
changelog_body="${changelog_body//'%'/'%25'}"
Expand All @@ -72,15 +73,15 @@ jobs:
- name: Check for Changelog Comment
uses: peter-evans/find-comment@v1
id: found-comment
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && steps.dry-release.outcome == 'success'
with:
token: ${{ secrets.TOPHAT_BOT_GH_TOKEN }}
issue-number: ${{ github.event.pull_request.number }}
comment-author: 'tophat-opensource-bot'
body-includes: <!-- MONODEPLOY_CHANGELOG_PREVIEW -->
- name: Post Changelog to PR
uses: peter-evans/create-or-update-comment@v1
if: github.event_name == 'pull_request'
if: github.event_name == 'pull_request' && steps.dry-release.outcome == 'success'
with:
token: ${{ secrets.TOPHAT_BOT_GH_TOKEN }}
comment-id: ${{ steps.found-comment.outputs.comment-id }}
Expand Down
783 changes: 0 additions & 783 deletions .yarn/releases/yarn-3.2.2.cjs

This file was deleted.

4 changes: 0 additions & 4 deletions .yarnrc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,3 @@ plugins:
spec: "@yarnpkg/plugin-typescript"
- path: .yarn/plugins/@yarnpkg/plugin-constraints.cjs
spec: "@yarnpkg/plugin-constraints"

pnpEnableEsmLoader: false

yarnPath: .yarn/releases/yarn-3.2.2.cjs

0 comments on commit d0d392f

Please sign in to comment.