Skip to content

Commit ea25e5e

Browse files
Update, managed by Terraform
1 parent 0e792e5 commit ea25e5e

File tree

1 file changed

+0
-24
lines changed

1 file changed

+0
-24
lines changed

.github/workflows/release.yaml

Lines changed: 0 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -4,30 +4,6 @@ on:
44
push
55

66
jobs:
7-
commit:
8-
name: Test commits
9-
runs-on: ubuntu-18.04
10-
if: ${{ github.ref != 'refs/heads/main' }}
11-
steps:
12-
- name: Checkout
13-
uses: actions/checkout@v2
14-
15-
- name: Install semantic-release
16-
run: npm install --save-dev semantic-release
17-
18-
- name: Replace logs
19-
run: sed -i "s/logger.log('There are no relevant changes, so no new version is released.');/throw new AggregateError(['There are no relevant changes...']);/" node_modules/semantic-release/index.js
20-
21-
- uses: frabert/replace-string-action@v1.2
22-
id: branch
23-
with:
24-
pattern: 'refs\/heads\/(.*)'
25-
string: '${{ github.ref }}'
26-
replace-with: '$1'
27-
28-
- name: Analyze commits
29-
run: npx semantic-release -b ${{ steps.branch.outputs.replaced }} -p '@semantic-release/commit-analyzer' --dry-run
30-
317
release:
328
name: Generate release
339
runs-on: ubuntu-18.04

0 commit comments

Comments
 (0)