From 2a59ed8960834b7f824860e61d6d55374c3b6999 Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:14:00 +0000 Subject: [PATCH 1/8] Added checkout step 9 --- action.yml | 3 ++- start.sh | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 8906f9c..9f99994 100644 --- a/action.yml +++ b/action.yml @@ -118,6 +118,7 @@ runs: uses: actions/checkout@v4 with: repository: HenryCabarcas/auto-versioning + path: ./.auto-versioning - uses: actions/setup-python@v5 with: python-version: '3.13' @@ -125,7 +126,7 @@ runs: run: echo "${{ github }}" - name: 🤖 Automatic version tag id: main-process - run: ./start.sh + run: ./.auto-versioning/start.sh shell: bash env: GH_TOKEN: ${{ inputs.github-token }} diff --git a/start.sh b/start.sh index 8cc8c64..7d381a7 100755 --- a/start.sh +++ b/start.sh @@ -104,4 +104,4 @@ if [[ "$debug" == "true" ]]; then echo "Main command: python3 src/main.py $target_commit $command_args" fi -python3 src/main.py $target_commit $command_args +python3 ./.auto-versioning/src/main.py $target_commit $command_args From 26c346421896d515b66e8816f5377e2be3190a3f Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:14:12 +0000 Subject: [PATCH 2/8] Added checkout step 9 --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index 4ad71a6..f73c932 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,6 +1,6 @@ on: push: - branches: ["main"] + branches: ["tests"] jobs: push-workflow: runs-on: ubuntu-latest From 2ffa9b637452ad39a27ad283f9f39b6bb330321f Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:17:38 +0000 Subject: [PATCH 3/8] Added checkout step 10 --- action.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 9f99994..840a92f 100644 --- a/action.yml +++ b/action.yml @@ -122,8 +122,10 @@ runs: - uses: actions/setup-python@v5 with: python-version: '3.13' + - uses: actions4gh/setup-gh@v1 + - shell: bash - run: echo "${{ github }}" + run: echo "${{ github.event }}" - name: 🤖 Automatic version tag id: main-process run: ./.auto-versioning/start.sh From d43c4a1d4a195c2f75de483ccd32c91130f4c85f Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:19:12 +0000 Subject: [PATCH 4/8] Added checkout step 11 --- action.yml | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/action.yml b/action.yml index 840a92f..3c17a30 100644 --- a/action.yml +++ b/action.yml @@ -122,8 +122,9 @@ runs: - uses: actions/setup-python@v5 with: python-version: '3.13' - - uses: actions4gh/setup-gh@v1 - + - name: Install the gh cli + uses: ksivamuthu/actions-setup-gh-cli@v3 + - shell: bash run: echo "${{ github.event }}" - name: 🤖 Automatic version tag From e74b5c3e77bffd50fc09189503014728aab316d6 Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:20:01 +0000 Subject: [PATCH 5/8] Added checkout step 12 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 3c17a30..57022ed 100644 --- a/action.yml +++ b/action.yml @@ -126,7 +126,7 @@ runs: uses: ksivamuthu/actions-setup-gh-cli@v3 - shell: bash - run: echo "${{ github.event }}" + run: echo "${{ toJson(github) }}" - name: 🤖 Automatic version tag id: main-process run: ./.auto-versioning/start.sh From 90ea46e1d6ddce8a33f6eb4eeb247b2b60be55cc Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:20:14 +0000 Subject: [PATCH 6/8] Added checkout step 13 --- .github/workflows/push.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/push.yml b/.github/workflows/push.yml index f73c932..0467521 100644 --- a/.github/workflows/push.yml +++ b/.github/workflows/push.yml @@ -1,6 +1,6 @@ on: push: - branches: ["tests"] + branches: ["tests","main"] jobs: push-workflow: runs-on: ubuntu-latest From bdc5a8b550ce94e197bffb1ab19972254ec85a6a Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:20:56 +0000 Subject: [PATCH 7/8] Added checkout step 14 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 57022ed..56fc74f 100644 --- a/action.yml +++ b/action.yml @@ -126,7 +126,7 @@ runs: uses: ksivamuthu/actions-setup-gh-cli@v3 - shell: bash - run: echo "${{ toJson(github) }}" + run: echo '${{ toJson(github) }}'' - name: 🤖 Automatic version tag id: main-process run: ./.auto-versioning/start.sh From 3094b6827f58d71522f03035b8c07198c23ab7d0 Mon Sep 17 00:00:00 2001 From: Henry Cabarcas <89100102+HenryCabarcas@users.noreply.github.com> Date: Sat, 22 Feb 2025 04:21:38 +0000 Subject: [PATCH 8/8] Added checkout step 15 --- action.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/action.yml b/action.yml index 56fc74f..2acbced 100644 --- a/action.yml +++ b/action.yml @@ -126,7 +126,7 @@ runs: uses: ksivamuthu/actions-setup-gh-cli@v3 - shell: bash - run: echo '${{ toJson(github) }}'' + run: echo '${{ toJson(github) }}' - name: 🤖 Automatic version tag id: main-process run: ./.auto-versioning/start.sh