From f0e84f14351b65b4a41e5dd0f0234b6b6ad18ae2 Mon Sep 17 00:00:00 2001 From: Emil Karimov Date: Wed, 14 Feb 2024 14:28:20 +0300 Subject: [PATCH] update --- .github/workflows/Release.yml | 27 ++++++++++++++++++++++++ .gitignore | 1 + set-shared-envs-action.yml => action.yml | 7 +++++- entrypoint.sh | 0 4 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .github/workflows/Release.yml create mode 100644 .gitignore rename set-shared-envs-action.yml => action.yml (90%) create mode 100644 entrypoint.sh diff --git a/.github/workflows/Release.yml b/.github/workflows/Release.yml new file mode 100644 index 0000000..0f38858 --- /dev/null +++ b/.github/workflows/Release.yml @@ -0,0 +1,27 @@ +name: Test and Release + +on: + push: + branches: + - main + paths-ignore: + - '**.md' + - 'LICENSE' + - '**/*.gitignore' + - '**/*.eslintrc.json' + - '**/*.dockerignore' + workflow_dispatch: + +jobs: + release: + name: Release + runs-on: ubuntu-latest + env: + GITHUB_TOKEN: ${{ secrets.GIT_TOKEN }} + steps: + - uses: rymndhng/release-on-push-action@master + with: + bump_version_scheme: patch + use_github_release_notes: true + release_name: "Release " + max_commits: 100 \ No newline at end of file diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..320ac4d --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.github/workflows/.DS_Store diff --git a/set-shared-envs-action.yml b/action.yml similarity index 90% rename from set-shared-envs-action.yml rename to action.yml index 3f4796c..f645e13 100644 --- a/set-shared-envs-action.yml +++ b/action.yml @@ -1,5 +1,10 @@ name: 'Set shared envs' description: 'Set app name from repo and release version' +author: 'emvakar' +branding: + icon: 'bell' + color: blue + inputs: repository_owner: description: 'Repository owner' @@ -8,7 +13,7 @@ inputs: description: 'Commit reference' required: true runs: - using: "composite" + using: 'composite' steps: - name: Set App Name run: | diff --git a/entrypoint.sh b/entrypoint.sh new file mode 100644 index 0000000..e69de29