Skip to content

Commit

Permalink
fix: release-please
Browse files Browse the repository at this point in the history
  • Loading branch information
matmut7 committed Jul 2, 2024
1 parent b7c4600 commit 1125e51
Show file tree
Hide file tree
Showing 3 changed files with 48 additions and 27 deletions.
18 changes: 18 additions & 0 deletions .github/workflows/release-please.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
on:
push:
branches:
- master

permissions:
contents: write
pull-requests: write

name: release-please

jobs:
release-please:
runs-on: ubuntu-latest
steps:
- uses: googleapis/release-please-action@v4
with:
release-type: simple
55 changes: 28 additions & 27 deletions .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -1,27 +1,28 @@
name: 📦 Release
on:
push:
branches:
- master
workflow_dispatch:

jobs:
release:
name: Release
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
with:
fetch-depth: 0
ssh-key: ${{ secrets.DEPLOY_KEY }}
- name: Setup Node.js
uses: actions/setup-node@v3
with:
node-version: "lts/*"
- name: Install additional semantic-release plugins
run: npm i --save=false semantic-release @socialgouv/releaserc @semantic-release/changelog @semantic-release/git @semantic-release/npm
- name: Release
env:
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
run: npx semantic-release --extends @socialgouv/releaserc
# disabled
# name: 📦 Release
# on:
# push:
# branches:
# - master
# workflow_dispatch:
#
# jobs:
# release:
# name: Release
# runs-on: ubuntu-latest
# steps:
# - name: Checkout
# uses: actions/checkout@v3
# with:
# fetch-depth: 0
# ssh-key: ${{ secrets.DEPLOY_KEY }}
# - name: Setup Node.js
# uses: actions/setup-node@v3
# with:
# node-version: "lts/*"
# - name: Install additional semantic-release plugins
# run: npm i --save=false semantic-release @socialgouv/releaserc @semantic-release/changelog @semantic-release/git @semantic-release/npm
# - name: Release
# env:
# GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
# run: npx semantic-release --extends @socialgouv/releaserc
2 changes: 2 additions & 0 deletions .talismanrc
Original file line number Diff line number Diff line change
@@ -1,6 +1,8 @@
fileignoreconfig:
- filename: .env.sample
checksum: 0f628c927f046a71318bc0060e8a2c5e3d57b6de629da73ec57e909ad127cbdd
- filename: .github/workflows/release.yml
checksum: 3cbe51a05b23ab62e35d5a6a54b414c56c8891f776bfa254c02b7cbeab138cfa
- filename: .kontinuous/env/dev/templates/sentry.sealed-secret.yaml
checksum: 6b3eb493305a8c3d24402c99d7a20b01b6650e7fedb2782648c539a70adc4088
- filename: .kontinuous/env/preprod/templates/sentry.sealed-secret.yaml
Expand Down

0 comments on commit 1125e51

Please sign in to comment.