Skip to content

Commit

Permalink
Merge pull request #189 from sebbo2002/template-updater/update
Browse files Browse the repository at this point in the history
  • Loading branch information
sebbo2002 authored Oct 25, 2023
2 parents af740e9 + 92ffced commit 6fb086f
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 1 deletion.
6 changes: 6 additions & 0 deletions .github/workflows/test-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -281,6 +281,11 @@ jobs:
concurrency: release
env:
PUSH_TO_DOCKERHUB: ${{ (github.repository != 'sebbo2002/js-template') && (secrets.DOCKERHUB_TOKEN != null) }}
permissions:
contents: write
issues: write
pull-requests: write
id-token: write
needs:
- coverage
- tests
Expand Down Expand Up @@ -323,6 +328,7 @@ jobs:
GH_TOKEN: ${{ secrets.GH_TOKEN }}
GH_OWNER: ${{ github.repository_owner }}
NPM_TOKEN: ${{ secrets.NPM_TOKEN }}
NPM_CONFIG_PROVENANCE: true
DOCKER_LOCAL_IMAGE_GH: ghcr.io/${{ github.repository }}:${{ github.sha }}
DOCKER_LOCAL_IMAGE_DH: ${{ github.repository }}:${{ github.sha }}
- name: 🔃 Merge main back into develop
Expand Down
4 changes: 3 additions & 1 deletion release.config.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,9 @@ configuration.plugins.push(['@semantic-release/commit-analyzer', {

configuration.plugins.push('@semantic-release/release-notes-generator');

configuration.plugins.push('@semantic-release/changelog');
if (process.env.BRANCH === 'main') {
configuration.plugins.push('@semantic-release/changelog');
}

configuration.plugins.push('semantic-release-license');

Expand Down

0 comments on commit 6fb086f

Please sign in to comment.