From b7450911b25b0b70528fd4b620cffb90766e3448 Mon Sep 17 00:00:00 2001 From: Pablo Orgaz Date: Thu, 19 Oct 2023 17:34:41 +0200 Subject: [PATCH] feat: Release GitHub action (#1078) * feat: add release-please.yml * feat: add release-please.yml --------- Co-authored-by: Pablo Orgaz --- .github/workflows/release-please.yml | 19 +++++++++++++++++++ .github/workflows/tests.yml | 5 +++-- CHANGELOG.md | 0 version.txt | 1 + 4 files changed, 23 insertions(+), 2 deletions(-) create mode 100644 .github/workflows/release-please.yml create mode 100644 CHANGELOG.md create mode 100644 version.txt diff --git a/.github/workflows/release-please.yml b/.github/workflows/release-please.yml new file mode 100644 index 0000000000..b7b74e05dd --- /dev/null +++ b/.github/workflows/release-please.yml @@ -0,0 +1,19 @@ +name: release-please + +on: + push: + branches: + - main + +permissions: + contents: write + pull-requests: write + +jobs: + release-please: + runs-on: ubuntu-latest + steps: + - uses: google-github-actions/release-please-action@v3 + with: + release-type: simple + version-file: version.txt \ No newline at end of file diff --git a/.github/workflows/tests.yml b/.github/workflows/tests.yml index 91360c58a8..6a450cbeda 100644 --- a/.github/workflows/tests.yml +++ b/.github/workflows/tests.yml @@ -1,8 +1,9 @@ -name: Tests +name: tests on: push: - branches: [main] + branches: + - main pull_request: concurrency: diff --git a/CHANGELOG.md b/CHANGELOG.md new file mode 100644 index 0000000000..e69de29bb2 diff --git a/version.txt b/version.txt new file mode 100644 index 0000000000..8a9ecc2ea9 --- /dev/null +++ b/version.txt @@ -0,0 +1 @@ +0.0.1 \ No newline at end of file