Skip to content

Commit

Permalink
chore: comment out semantic release workflow to prevent releases on t…
Browse files Browse the repository at this point in the history
…emplate repo
  • Loading branch information
MSevey committed Sep 25, 2024
1 parent f25d3c2 commit 2af1424
Showing 1 changed file with 23 additions and 22 deletions.
45 changes: 23 additions & 22 deletions .github/workflows/semantic_release.yml
Original file line number Diff line number Diff line change
@@ -1,24 +1,25 @@
name: Semantic Release
# Commented out to prevent releases on the template repo
# name: Semantic Release

on:
push:
branches:
- main
# on:
# push:
# branches:
# - main

jobs:
release:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v4
- name: Configure Semantic Release
# Work around for non npm project
# REF: https://github.com/cycjimmy/semantic-release-action/issues/115#issuecomment-1817264419
run: echo '{"branches":[],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github"]}' > .releaserc.json
- name: Create Release
uses: cycjimmy/semantic-release-action@v4
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
branches: |
["main"]
# jobs:
# release:
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v4
# - name: Configure Semantic Release
# # Work around for non npm project
# # REF: https://github.com/cycjimmy/semantic-release-action/issues/115#issuecomment-1817264419

Check failure on line 17 in .github/workflows/semantic_release.yml

View workflow job for this annotation

GitHub Actions / lint / yamllint

17:81 [line-length] line too long (103 > 80 characters)
# run: echo '{"branches":[],"plugins":["@semantic-release/commit-analyzer","@semantic-release/release-notes-generator","@semantic-release/github"]}' > .releaserc.json

Check failure on line 18 in .github/workflows/semantic_release.yml

View workflow job for this annotation

GitHub Actions / lint / yamllint

18:81 [line-length] line too long (174 > 80 characters)
# - name: Create Release
# uses: cycjimmy/semantic-release-action@v4
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# with:
# branches: |
# ["main"]

0 comments on commit 2af1424

Please sign in to comment.