Open jsathler opened 1 year ago
Share the runner logs
For sure, thanks in advance ;)
2023-10-02T15:28:15.5124773Z Requested labels: ubuntu-latest
2023-10-02T15:28:15.5125046Z Job defined at: jsathler/test-tag/.github/workflows/tag-release.yml@refs/heads/main
2023-10-02T15:28:15.5125140Z Waiting for a runner to pick up this job...
2023-10-02T15:28:16.3296034Z Job is waiting for a hosted runner to come online.
2023-10-02T15:28:19.2297017Z Job is about to start running on the hosted runner: GitHub Actions 1 (hosted)
2023-10-02T15:28:21.3435724Z Current runner version: '2.309.0'
2023-10-02T15:28:21.3464747Z ##[group]Operating System
2023-10-02T15:28:21.3465496Z Ubuntu
2023-10-02T15:28:21.3465814Z 22.04.3
2023-10-02T15:28:21.3466071Z LTS
2023-10-02T15:28:21.3466390Z ##[endgroup]
2023-10-02T15:28:21.3466748Z ##[group]Runner Image
2023-10-02T15:28:21.3467144Z Image: ubuntu-22.04
2023-10-02T15:28:21.3467496Z Version: 20230924.1.0
2023-10-02T15:28:21.3468059Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20230924.1/images/linux/Ubuntu2204-Readme.md
2023-10-02T15:28:21.3468767Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20230924.1
2023-10-02T15:28:21.3469212Z ##[endgroup]
2023-10-02T15:28:21.3469639Z ##[group]Runner Image Provisioner
2023-10-02T15:28:21.3470003Z 2.0.310.1
2023-10-02T15:28:21.3470272Z ##[endgroup]
2023-10-02T15:28:21.3471350Z ##[group]GITHUB_TOKEN Permissions
2023-10-02T15:28:21.3473147Z Actions: write
2023-10-02T15:28:21.3473517Z Checks: write
2023-10-02T15:28:21.3474321Z Contents: write
2023-10-02T15:28:21.3474929Z Deployments: write
2023-10-02T15:28:21.3475250Z Discussions: write
2023-10-02T15:28:21.3475613Z Issues: write
2023-10-02T15:28:21.3475929Z Metadata: read
2023-10-02T15:28:21.3476290Z Packages: write
2023-10-02T15:28:21.3476629Z Pages: write
2023-10-02T15:28:21.3476979Z PullRequests: write
2023-10-02T15:28:21.3477357Z RepositoryProjects: write
2023-10-02T15:28:21.3477744Z SecurityEvents: write
2023-10-02T15:28:21.3478155Z Statuses: write
2023-10-02T15:28:21.3478452Z ##[endgroup]
2023-10-02T15:28:21.3482279Z Secret source: Actions
2023-10-02T15:28:21.3482831Z Prepare workflow directory
2023-10-02T15:28:21.4237584Z Prepare all required actions
2023-10-02T15:28:21.4437566Z Getting action download info
2023-10-02T15:28:21.6886968Z Download action repository 'actions/checkout@v3' (SHA:f43a0e5ff2bd294095638e18286ca9a3d1956744)
2023-10-02T15:28:22.0213817Z Download action repository 'anothrNick/github-tag-action@1.67.0' (SHA:a2c70ae13a881faf2b4953baaa9e49731997ab36)
2023-10-02T15:28:22.3399169Z Complete job name: tag-release
2023-10-02T15:28:22.4086399Z ##[group]Build container for action use: '/home/runner/work/_actions/anothrNick/github-tag-action/1.67.0/Dockerfile'.
2023-10-02T15:28:22.4166636Z ##[command]/usr/bin/docker build -t 94351b:31aeb3431b4040f284bd8b82ae007149 -f "/home/runner/work/_actions/anothrNick/github-tag-action/1.67.0/Dockerfile" "/home/runner/work/_actions/anothrNick/github-tag-action/1.67.0"
2023-10-02T15:28:22.9672789Z #0 building with "default" instance using docker driver
2023-10-02T15:28:22.9674086Z
2023-10-02T15:28:22.9674228Z #1 [internal] load .dockerignore
2023-10-02T15:28:22.9674518Z #1 transferring context: 2B done
2023-10-02T15:28:22.9674762Z #1 DONE 0.0s
2023-10-02T15:28:22.9674908Z
2023-10-02T15:28:22.9675057Z #2 [internal] load build definition from Dockerfile
2023-10-02T15:28:22.9675357Z #2 transferring dockerfile: 362B done
2023-10-02T15:28:22.9675605Z #2 DONE 0.0s
2023-10-02T15:28:22.9675762Z
2023-10-02T15:28:22.9675932Z #3 [internal] load metadata for docker.io/library/node:18-alpine
2023-10-02T15:28:22.9676327Z #3 DONE 0.0s
2023-10-02T15:28:22.9676462Z
2023-10-02T15:28:22.9676576Z #4 [1/3] FROM docker.io/library/node:18-alpine
2023-10-02T15:28:22.9676831Z #4 DONE 0.0s
2023-10-02T15:28:22.9676963Z
2023-10-02T15:28:22.9677068Z #5 [internal] load build context
2023-10-02T15:28:22.9677335Z #5 transferring context: 8.37kB done
2023-10-02T15:28:22.9677580Z #5 DONE 0.0s
2023-10-02T15:28:22.9677711Z
2023-10-02T15:28:22.9677904Z #6 [2/3] RUN apk --no-cache add bash git curl jq && npm install -g semver
2023-10-02T15:28:23.2677650Z #6 0.347 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/main/x86_64/APKINDEX.tar.gz
2023-10-02T15:28:23.4182849Z #6 0.468 fetch https://dl-cdn.alpinelinux.org/alpine/v3.18/community/x86_64/APKINDEX.tar.gz
2023-10-02T15:28:23.6904537Z #6 0.723 (1/16) Installing ncurses-terminfo-base (6.4_p20230506-r0)
2023-10-02T15:28:23.7008466Z #6 0.728 (2/16) Installing libncursesw (6.4_p20230506-r0)
2023-10-02T15:28:23.7009205Z #6 0.741 (3/16) Installing readline (8.2.1-r1)
2023-10-02T15:28:23.7009998Z #6 0.747 (4/16) Installing bash (5.2.15-r5)
2023-10-02T15:28:23.7010700Z #6 0.762 Executing bash-5.2.15-r5.post-install
2023-10-02T15:28:23.7011617Z #6 0.773 (5/16) Installing ca-certificates (20230506-r0)
2023-10-02T15:28:23.7012319Z #6 0.795 (6/16) Installing brotli-libs (1.0.9-r14)
2023-10-02T15:28:23.7012824Z #6 0.805 (7/16) Installing libunistring (1.1-r1)
2023-10-02T15:28:23.7891824Z #6 0.820 (8/16) Installing libidn2 (2.3.4-r1)
2023-10-02T15:28:23.7893092Z #6 0.824 (9/16) Installing nghttp2-libs (1.55.1-r0)
2023-10-02T15:28:23.7893730Z #6 0.827 (10/16) Installing libcurl (8.3.0-r0)
2023-10-02T15:28:23.7894313Z #6 0.834 (11/16) Installing curl (8.3.0-r0)
2023-10-02T15:28:23.7894870Z #6 0.839 (12/16) Installing libexpat (2.5.0-r1)
2023-10-02T15:28:23.7895471Z #6 0.841 (13/16) Installing pcre2 (10.42-r1)
2023-10-02T15:28:23.7896043Z #6 0.849 (14/16) Installing git (2.40.1-r0)
2023-10-02T15:28:23.7896606Z #6 0.919 (15/16) Installing oniguruma (6.9.8-r1)
2023-10-02T15:28:23.9413950Z #6 0.928 (16/16) Installing jq (1.6-r3)
2023-10-02T15:28:23.9414528Z #6 0.936 Executing busybox-1.36.1-r2.trigger
2023-10-02T15:28:23.9416102Z #6 0.949 Executing ca-certificates-20230506-r0.trigger
2023-10-02T15:28:23.9416608Z #6 0.999 OK: 24 MiB in 33 packages
2023-10-02T15:28:31.1118043Z #6 8.245
2023-10-02T15:28:31.1118480Z #6 8.245 added 3 packages in 2s
2023-10-02T15:28:31.2150323Z #6 8.247 npm notice
2023-10-02T15:28:31.2150841Z #6 8.249 npm notice New major version of npm available! 9.8.1 -> 10.1.0
2023-10-02T15:28:31.2151266Z #6 8.250 npm notice Changelog: https://github.com/npm/cli/releases/tag/v10.1.0
2023-10-02T15:28:31.2151774Z #6 8.251 npm notice Run npm install -g npm@10.1.0
to update!
2023-10-02T15:28:31.2152125Z #6 8.252 npm notice
2023-10-02T15:28:31.2152362Z #6 DONE 8.3s
2023-10-02T15:28:31.3654484Z
2023-10-02T15:28:31.3654930Z #7 [3/3] COPY entrypoint.sh /entrypoint.sh
2023-10-02T15:28:31.3655359Z #7 DONE 0.0s
2023-10-02T15:28:31.3657060Z
2023-10-02T15:28:31.3658131Z #8 exporting to image
2023-10-02T15:28:31.3658677Z #8 exporting layers
2023-10-02T15:28:33.0994843Z #8 exporting layers 1.8s done
2023-10-02T15:28:33.0995471Z #8 writing image sha256:948269be1b48a1ba9f7708738b25416cb073ff16bada1a9ff2153398688079e1 done
2023-10-02T15:28:33.0995965Z #8 naming to docker.io/library/94351b:31aeb3431b4040f284bd8b82ae007149 done
2023-10-02T15:28:33.0996360Z #8 DONE 1.9s
2023-10-02T15:28:33.1023968Z ##[endgroup]
2023-10-02T15:28:33.1419688Z ##[group]Run actions/checkout@v3
2023-10-02T15:28:33.1419997Z with:
2023-10-02T15:28:33.1420240Z repository: jsathler/test-tag
2023-10-02T15:28:33.1420794Z token:
2023-10-02T15:28:33.1421035Z ssh-strict: true
2023-10-02T15:28:33.1421276Z persist-credentials: true
2023-10-02T15:28:33.1421522Z clean: true
2023-10-02T15:28:33.1421777Z sparse-checkout-cone-mode: true
2023-10-02T15:28:33.1422032Z fetch-depth: 1
2023-10-02T15:28:33.1422258Z fetch-tags: false
2023-10-02T15:28:33.1422478Z lfs: false
2023-10-02T15:28:33.1422709Z submodules: false
2023-10-02T15:28:33.1422957Z set-safe-directory: true
2023-10-02T15:28:33.1423195Z ##[endgroup]
2023-10-02T15:28:33.3876763Z Syncing repository: jsathler/test-tag
2023-10-02T15:28:33.3879426Z ##[group]Getting Git version info
2023-10-02T15:28:33.3879958Z Working directory is '/home/runner/work/test-tag/test-tag'
2023-10-02T15:28:33.3880582Z [command]/usr/bin/git version
2023-10-02T15:28:33.3880833Z git version 2.42.0
2023-10-02T15:28:33.3889491Z ##[endgroup]
2023-10-02T15:28:33.3906496Z Temporarily overriding HOME='/home/runner/work/_temp/9c537993-a993-4349-8955-fa1d61c6b5eb' before making global git config changes
2023-10-02T15:28:33.3907301Z Adding repository directory to the temporary git global config as a safe directory
2023-10-02T15:28:33.3912004Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/test-tag/test-tag
2023-10-02T15:28:33.3959784Z Deleting the contents of '/home/runner/work/test-tag/test-tag'
2023-10-02T15:28:33.3964768Z ##[group]Initializing the repository
2023-10-02T15:28:33.3968714Z [command]/usr/bin/git init /home/runner/work/test-tag/test-tag
2023-10-02T15:28:33.4049182Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-10-02T15:28:33.4049861Z hint: is subject to change. To configure the initial branch name to use in all
2023-10-02T15:28:33.4050423Z hint: of your new repositories, which will suppress this warning, call:
2023-10-02T15:28:33.4050830Z hint:
2023-10-02T15:28:33.4051248Z hint: git config --global init.defaultBranch
2023-10-02T15:28:33.8181558Z remote: Counting objects: 14% (1/7)
2023-10-02T15:28:33.8182350Z remote: Counting objects: 28% (2/7)
2023-10-02T15:28:33.8184214Z remote: Counting objects: 42% (3/7)
2023-10-02T15:28:33.8184801Z remote: Counting objects: 57% (4/7)
2023-10-02T15:28:33.8185321Z remote: Counting objects: 71% (5/7)
2023-10-02T15:28:33.8185983Z remote: Counting objects: 85% (6/7)
2023-10-02T15:28:33.8186455Z remote: Counting objects: 100% (7/7)
2023-10-02T15:28:33.8233873Z remote: Counting objects: 100% (7/7), done.
2023-10-02T15:28:33.8234772Z remote: Compressing objects: 25% (1/4)
2023-10-02T15:28:33.8235138Z remote: Compressing objects: 50% (2/4)
2023-10-02T15:28:33.8235502Z remote: Compressing objects: 75% (3/4)
2023-10-02T15:28:33.8235879Z remote: Compressing objects: 100% (4/4)
2023-10-02T15:28:33.8236237Z remote: Compressing objects: 100% (4/4), done.
2023-10-02T15:28:33.8237140Z remote: Total 7 (delta 0), reused 6 (delta 0), pack-reused 0
2023-10-02T15:28:33.8285462Z From https://github.com/jsathler/test-tag
2023-10-02T15:28:33.8286003Z * [new ref] 6a74aa3de8b49caf2d0ef52fdd3794ef8655d0fd -> origin/main
2023-10-02T15:28:33.8322570Z ##[endgroup]
2023-10-02T15:28:33.8366675Z ##[group]Determining the checkout info
2023-10-02T15:28:33.8367137Z ##[endgroup]
2023-10-02T15:28:33.8367538Z ##[group]Checking out the ref
2023-10-02T15:28:33.8368490Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-10-02T15:28:33.8409957Z Switched to a new branch 'main'
2023-10-02T15:28:33.8410499Z branch 'main' set up to track 'origin/main'.
2023-10-02T15:28:33.8435930Z ##[endgroup]
2023-10-02T15:28:33.8475966Z [command]/usr/bin/git log -1 --format='%H'
2023-10-02T15:28:33.8509592Z '6a74aa3de8b49caf2d0ef52fdd3794ef8655d0fd'
2023-10-02T15:28:33.8825695Z ##[group]Run anothrNick/github-tag-action@1.67.0
2023-10-02T15:28:33.8825983Z env:
2023-10-02T15:28:33.8826559Z GITHUB_TOKEN:
2023-10-02T15:28:33.8826784Z WITH_V: true
2023-10-02T15:28:33.8827010Z DEFAULT_BRANCH: main
2023-10-02T15:28:33.8827221Z ##[endgroup]
2023-10-02T15:28:33.9075332Z ##[command]/usr/bin/docker run --name b31aeb3431b4040f284bd8b82ae007149_457b51 --label 94351b --workdir /github/workspace --rm -e "GITHUB_TOKEN" -e "WITH_V" -e "DEFAULT_BRANCH" -e "HOME" -e "GITHUB_JOB" -e "GITHUB_REF" -e "GITHUB_SHA" -e "GITHUB_REPOSITORY" -e "GITHUB_REPOSITORY_OWNER" -e "GITHUB_REPOSITORY_OWNER_ID" -e "GITHUB_RUN_ID" -e "GITHUB_RUN_NUMBER" -e "GITHUB_RETENTION_DAYS" -e "GITHUB_RUN_ATTEMPT" -e "GITHUB_REPOSITORY_ID" -e "GITHUB_ACTOR_ID" -e "GITHUB_ACTOR" -e "GITHUB_TRIGGERING_ACTOR" -e "GITHUB_WORKFLOW" -e "GITHUB_HEAD_REF" -e "GITHUB_BASE_REF" -e "GITHUB_EVENT_NAME" -e "GITHUB_SERVER_URL" -e "GITHUB_API_URL" -e "GITHUB_GRAPHQL_URL" -e "GITHUB_REF_NAME" -e "GITHUB_REF_PROTECTED" -e "GITHUB_REF_TYPE" -e "GITHUB_WORKFLOW_REF" -e "GITHUB_WORKFLOW_SHA" -e "GITHUB_WORKSPACE" -e "GITHUB_ACTION" -e "GITHUB_EVENT_PATH" -e "GITHUB_ACTION_REPOSITORY" -e "GITHUB_ACTION_REF" -e "GITHUB_PATH" -e "GITHUB_ENV" -e "GITHUB_STEP_SUMMARY" -e "GITHUB_STATE" -e "GITHUB_OUTPUT" -e "RUNNER_OS" -e "RUNNER_ARCH" -e "RUNNER_NAME" -e "RUNNER_ENVIRONMENT" -e "RUNNER_TOOL_CACHE" -e "RUNNER_TEMP" -e "RUNNER_WORKSPACE" -e "ACTIONS_RUNTIME_URL" -e "ACTIONS_RUNTIME_TOKEN" -e "ACTIONS_CACHE_URL" -e GITHUB_ACTIONS=true -e CI=true -v "/var/run/docker.sock":"/var/run/docker.sock" -v "/home/runner/work/_temp/_github_home":"/github/home" -v "/home/runner/work/_temp/_github_workflow":"/github/workflow" -v "/home/runner/work/_temp/_runner_file_commands":"/github/file_commands" -v "/home/runner/work/test-tag/test-tag":"/github/workspace" 94351b:31aeb3431b4040f284bd8b82ae007149
2023-10-02T15:28:34.2187032Z CONFIGURATION
2023-10-02T15:28:34.2211078Z DEFAULT_BUMP: minor
2023-10-02T15:28:34.2211418Z DEFAULT_BRANCH: main
2023-10-02T15:28:34.2211638Z WITH_V: true
2023-10-02T15:28:34.2211902Z RELEASE_BRANCHES: master,main
2023-10-02T15:28:34.2212145Z CUSTOM_TAG:
2023-10-02T15:28:34.2212340Z SOURCE: .
2023-10-02T15:28:34.2212550Z DRY_RUN: false
2023-10-02T15:28:34.2212776Z GIT_API_TAGGING: true
2023-10-02T15:28:34.2213002Z INITIAL_VERSION: 0.0.0
2023-10-02T15:28:34.2213241Z TAG_CONTEXT: repo
2023-10-02T15:28:34.2213478Z PRERELEASE: false
2023-10-02T15:28:34.2213709Z PRERELEASE_SUFFIX: beta
2023-10-02T15:28:34.2213946Z VERBOSE: false
2023-10-02T15:28:34.2214197Z MAJOR_STRING_TOKEN: #major
2023-10-02T15:28:34.2214433Z MINOR_STRING_TOKEN: #minor
2023-10-02T15:28:34.2214685Z PATCH_STRING_TOKEN: #patch
2023-10-02T15:28:34.2214935Z NONE_STRING_TOKEN: #none
2023-10-02T15:28:34.2215164Z BRANCH_HISTORY: compare
2023-10-02T15:28:34.2215401Z pre_release = false
2023-10-02T15:28:34.7885054Z From https://github.com/jsathler/test-tag
2023-10-02T15:28:34.7885498Z [new tag] v0.1.0 -> v0.1.0
2023-10-02T15:28:34.7885847Z [new tag] v0.2.0 -> v0.2.0
2023-10-02T15:28:34.7886149Z [new tag] v0.3.0 -> v0.3.0
2023-10-02T15:28:34.7886465Z [new tag] v0.4.0 -> v0.4.0
2023-10-02T15:28:34.7886778Z [new tag] v0.5.0 -> v0.5.0
2023-10-02T15:28:34.7887086Z [new tag] v0.6.0 -> v0.6.0
2023-10-02T15:28:34.7887378Z [new tag] v0.7.0 -> v0.7.0
2023-10-02T15:28:34.8078224Z History:
2023-10-02T15:28:34.8078713Z ---
2023-10-02T15:28:34.8078907Z testing #minor
2023-10-02T15:28:34.8079139Z ---
2023-10-02T15:28:34.9241359Z Bumping tag v0.7.0 - New tag v0.8.0
2023-10-02T15:28:34.9242440Z EVENT: creating local tag v0.8.0
2023-10-02T15:28:34.9264587Z EVENT: pushing tag v0.8.0 to origin
2023-10-02T15:28:34.9627720Z 2023-10-02T15:28:34Z: pushing tag v0.8.0 to repo jsathler/test-tag
2023-10-02T15:28:35.3143647Z "ref": "refs/tags/v0.8.0",
2023-10-02T15:28:35.3144129Z "node_id": "REF_kwDOKa7gtLByZWZzL3RhZ3MvdjAuOC4w",
2023-10-02T15:28:35.3145344Z "url": "https://api.github.com/repos/jsathler/test-tag/git/refs/tags/v0.8.0",
2023-10-02T15:28:35.3145816Z "object": {
2023-10-02T15:28:35.3164499Z "sha": "6a74aa3de8b49caf2d0ef52fdd3794ef8655d0fd",
2023-10-02T15:28:35.3166565Z "type": "commit",
2023-10-02T15:28:35.3173751Z "url": "https://api.github.com/repos/jsathler/test-tag/git/commits/6a74aa3de8b49caf2d0ef52fdd3794ef8655d0fd"
2023-10-02T15:28:35.3176273Z }
2023-10-02T15:28:35.3176683Z }
2023-10-02T15:28:35.4378761Z Post job cleanup.
2023-10-02T15:28:35.5479871Z [command]/usr/bin/git version
2023-10-02T15:28:35.5534087Z git version 2.42.0
2023-10-02T15:28:35.5590942Z Temporarily overriding HOME='/home/runner/work/_temp/2a6c4349-be3a-4e0f-b553-72032bb27d92' before making global git config changes
2023-10-02T15:28:35.5594959Z Adding repository directory to the temporary git global config as a safe directory
2023-10-02T15:28:35.5603060Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/test-tag/test-tag
2023-10-02T15:28:35.5656417Z [command]/usr/bin/git config --local --name-only --get-regexp core.sshCommand
2023-10-02T15:28:35.5703891Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'core.sshCommand' && git config --local --unset-all 'core.sshCommand' || :"
2023-10-02T15:28:35.5986957Z [command]/usr/bin/git config --local --name-only --get-regexp http.https\:\/\/github.com\/.extraheader
2023-10-02T15:28:35.6011614Z http.https://github.com/.extraheader
2023-10-02T15:28:35.6031783Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-10-02T15:28:35.6080828Z [command]/usr/bin/git submodule foreach --recursive sh -c "git config --local --name-only --get-regexp 'http.https\:\/\/github.com\/.extraheader' && git config --local --unset-all 'http.https://github.com/.extraheader' || :"
2023-10-02T15:28:35.6637107Z Cleaning up orphan processes
Would be good if you enable debug mode for the action.
can you share the commit history? it seems you are not setting default to patch
or the history is not picking up your #patch
comment
I've tested the following config but not able to get a minor tag, only #patch and #major
Am I doing anything wrong?
name: Tag and release main branch
on: pull_request: types:
jobs: tag-release: runs-on: ubuntu-latest steps:
name: Checkout uses: actions/checkout@v3
name: Bump version and push tag uses: anothrNick/github-tag-action@1.67.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} WITH_V: true DEFAULT_BRANCH: main