diff --git a/.github/workflows/release-please.yaml b/.github/workflows/release-please.yaml new file mode 100644 index 00000000..17eac39a --- /dev/null +++ b/.github/workflows/release-please.yaml @@ -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 diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 53ed4dac..284eee8e 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -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 diff --git a/.talismanrc b/.talismanrc index c529e233..b0ef71bd 100644 --- a/.talismanrc +++ b/.talismanrc @@ -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