Skip to content

Commit

Permalink
strike last commit - use actions instead, less overhead
Browse files Browse the repository at this point in the history
  • Loading branch information
noelforte committed Jan 27, 2025
1 parent 2ea9356 commit 1e8e92a
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
7 changes: 0 additions & 7 deletions .github/scripts/renovate-changesets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,6 @@ function exit(message: string, code = 0, color?: ColorNames) {
// Config
const dependencies = new Set(['debug', 'ventojs']);

log('Detecting branch...', 'dim');
const branchName = await $`git rev-parse --abbrev-ref HEAD`.then(({ stdout }) => stdout.trim());

if (!branchName.startsWith('renovate/')) {
exit(`\`${branchName}\` is not a renovate branch`, 0, 'red');
}

// Get file diffs
log('Diffing changes...', 'dim');
const diffOutput = await $`git diff --stat --name-only HEAD~1`;
Expand Down
1 change: 1 addition & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ on:
jobs:
changesets:
runs-on: ubuntu-24.04
if: startsWith('renovate/', github.head_ref)
steps:
- uses: actions/checkout@v4

Expand Down

0 comments on commit 1e8e92a

Please sign in to comment.