googleapis / release-please-action

automated releases based on conventional commits
Apache License 2.0
1.7k stars 209 forks source link

Bug: Use personal release token will trigger infinitely PR #903

Closed linrongbin16 closed 10 months ago

linrongbin16 commented 10 months ago

TL;DR

I create a small example here: https://github.com/linrongbin16/ci-template.nvim

It will do some checks on PR branch, and for main branch it will run release-please action to try to release.

But with personal token, it will always creating new PRs without stop.

Here is the config on release-please action:

name: CI
on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
concurrency:
  group: ${{ github.ref }}-ci
  cancel-in-progress: true
jobs:
  release:
    name: Release
    if: ${{ github.ref == 'refs/heads/main' }}
    needs:
      - luacheck
      - unit_test
    runs-on: ubuntu-latest
    steps:
      - uses: google-github-actions/release-please-action@v4
        id: release
        with:
          token: ${{ secrets.MY_PERSONAL_TOKEN }}
          release-type: simple

Expected behavior

No response

Observed behavior

No response

Action YAML

name: CI
on:
  pull_request:
    branches:
      - main
  push:
    branches:
      - main
concurrency:
  group: ${{ github.ref }}-ci
  cancel-in-progress: true
jobs:
  pr_conventional_commit:
    name: PR Conventional Commit
    if: ${{ github.ref != 'refs/heads/main' }}
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: ytanikin/PRConventionalCommits@1.1.0
        with:
          task_types: '["feat","fix","docs","test","ci","refactor","perf","chore","revert","break"]'
  luacheck:
    name: Lua check
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: stevearc/nvim-typecheck-action@v1
        with:
          path: lua
          level: Information
          configpath: ".luarc.json"
          neodev-version: stable
      - uses: lunarmodules/luacheck@v1
        with:
          args: lua --config .luacheckrc
      - uses: JohnnyMorganz/stylua-action@v3
        with:
          token: ${{ secrets.GITHUB_TOKEN }}
          version: latest
          args: --config-path .stylua.toml ./lua ./test
      - name: Add json.lua
        if: ${{ github.ref != 'refs/heads/main' }}
        shell: bash
        run: |
          echo "pwd"
          echo $PWD
          git clone --depth=1 https://github.com/actboy168/json.lua.git ~/.json.lua
          cp ~/.json.lua/json.lua ./lua/actboy168_json.lua
      - uses: stefanzweifel/git-auto-commit-action@v4
        if: ${{ github.ref != 'refs/heads/main' }}
        with:
          commit_message: "chore(pr): auto-commit"
  unit_test:
    name: Unit Test
    strategy:
      matrix:
        nvim_version: [stable, nightly, v0.7.0]
    runs-on: ubuntu-latest
    steps:
      - uses: actions/checkout@v4
      - uses: rhysd/action-setup-vim@v1
        id: vim
        with:
          neovim: true
          version: ${{ matrix.nvim_version }}
      - uses: leafo/gh-actions-lua@v10
        with:
          luaVersion: "luajit-2.1.0-beta3"
      - uses: leafo/gh-actions-luarocks@v4
      - name: Run test cases
        shell: bash
        run: |
          luarocks install luacheck
          luarocks install luacov
          luarocks install cluacov
          luarocks install vusted
          git clone --depth 1 https://github.com/junegunn/fzf.git ~/.fzf
          ~/.fzf/install
          export PATH="$HOME/.fzf/bin:$PATH"
          vusted --coverage --shuffle ./test
      - name: Generate coverage reports
        shell: bash
        run: |
          echo "ls ."
          ls -l .
          echo "run luacov"
          luacov
          echo "ls ."
          ls -l .
          echo "cat ./luacov.report.out"
          cat ./luacov.report.out
      - uses: codecov/codecov-action@v3
        with:
          files: luacov.report.out
        env:
          CODECOV_TOKEN: ${{ secrets.CODECOV_TOKEN }}
  release:
    name: Release
    if: ${{ github.ref == 'refs/heads/main' }}
    needs:
      - luacheck
      - unit_test
    runs-on: ubuntu-latest
    steps:
      - uses: google-github-actions/release-please-action@v4
        id: release
        with:
          token: ${{ secrets.MY_PERSONAL_TOKEN }}
          release-type: simple
      - uses: actions/checkout@v4
      - uses: rickstaa/action-create-tag@v1
        if: ${{ steps.release.outputs.release_created }}
        with:
          tag: stable
          message: "Current stable release: ${{ steps.release.outputs.tag_name }}"
          tag_exists_error: false
          force_push_tag: true

Log output

job: https://github.com/linrongbin16/ci-template.nvim/actions/runs/7148314474/job/19469141735

log: https://pipelinesghubeus8.actions.githubusercontent.com/eKJfATmhfGbTOVMTpBlADS4ciKfwbNAzE4Yw7gYECQGtidCUyM/_apis/pipelines/1/runs/33/signedlogcontent/48?urlExpires=2023-12-09T02%3A54%3A33.4522176Z&urlSigningMethod=HMACV1&urlSignature=MgIRsbcqNGUzAyF6JHzyDqxjJAd%2BdZOT9GtpUAtRa2s%3D

2023-12-09T01:59:47.9492576Z Requested labels: ubuntu-latest
2023-12-09T01:59:47.9492767Z Job defined at: linrongbin16/ci-template.nvim/.github/workflows/ci.yml@refs/heads/main
2023-12-09T01:59:47.9492856Z Waiting for a runner to pick up this job...
2023-12-09T01:59:48.1362675Z Job is waiting for a hosted runner to come online.
2023-12-09T01:59:50.5509615Z Job is about to start running on the hosted runner: GitHub Actions 2 (hosted)
2023-12-09T01:59:53.0630011Z Current runner version: '2.311.0'
2023-12-09T01:59:53.0654475Z ##[group]Operating System
2023-12-09T01:59:53.0655254Z Ubuntu
2023-12-09T01:59:53.0655630Z 22.04.3
2023-12-09T01:59:53.0655929Z LTS
2023-12-09T01:59:53.0656402Z ##[endgroup]
2023-12-09T01:59:53.0656817Z ##[group]Runner Image
2023-12-09T01:59:53.0657252Z Image: ubuntu-22.04
2023-12-09T01:59:53.0657688Z Version: 20231205.1.0
2023-12-09T01:59:53.0658705Z Included Software: https://github.com/actions/runner-images/blob/ubuntu22/20231205.1/images/ubuntu/Ubuntu2204-Readme.md
2023-12-09T01:59:53.0660138Z Image Release: https://github.com/actions/runner-images/releases/tag/ubuntu22%2F20231205.1
2023-12-09T01:59:53.0661058Z ##[endgroup]
2023-12-09T01:59:53.0661450Z ##[group]Runner Image Provisioner
2023-12-09T01:59:53.0661931Z 2.0.321.1
2023-12-09T01:59:53.0662366Z ##[endgroup]
2023-12-09T01:59:53.0664496Z ##[group]GITHUB_TOKEN Permissions
2023-12-09T01:59:53.0666199Z Actions: write
2023-12-09T01:59:53.0666652Z Checks: write
2023-12-09T01:59:53.0667153Z Contents: write
2023-12-09T01:59:53.0667720Z Deployments: write
2023-12-09T01:59:53.0668136Z Discussions: write
2023-12-09T01:59:53.0668596Z Issues: write
2023-12-09T01:59:53.0668964Z Metadata: read
2023-12-09T01:59:53.0669383Z Packages: write
2023-12-09T01:59:53.0669796Z Pages: write
2023-12-09T01:59:53.0670177Z PullRequests: write
2023-12-09T01:59:53.0670617Z RepositoryProjects: write
2023-12-09T01:59:53.0671136Z SecurityEvents: write
2023-12-09T01:59:53.0671516Z Statuses: write
2023-12-09T01:59:53.0671911Z ##[endgroup]
2023-12-09T01:59:53.0675103Z Secret source: Actions
2023-12-09T01:59:53.0675701Z Prepare workflow directory
2023-12-09T01:59:53.1310054Z Prepare all required actions
2023-12-09T01:59:53.1470189Z Getting action download info
2023-12-09T01:59:53.4207087Z Download action repository 'google-github-actions/release-please-action@v4' (SHA:a2d8d683f209466ee8c695cd994ae2cf08b1642d)
2023-12-09T01:59:54.5155035Z Download action repository 'actions/checkout@v4' (SHA:b4ffde65f46336ab88eb53be808477a3936bae11)
2023-12-09T01:59:54.5847772Z Download action repository 'rickstaa/action-create-tag@v1' (SHA:a1c7777fcb2fee4f19b0f283ba888afa11678b72)
2023-12-09T01:59:55.2205313Z Complete job name: Release
2023-12-09T01:59:55.2845713Z ##[group]Build container for action use: '/home/runner/work/_actions/rickstaa/action-create-tag/v1/Dockerfile'.
2023-12-09T01:59:55.2934419Z ##[command]/usr/bin/docker build -t 2b2380:769ffb0de0274a3fabd7cf5533b53444 -f "/home/runner/work/_actions/rickstaa/action-create-tag/v1/Dockerfile" "/home/runner/work/_actions/rickstaa/action-create-tag/v1"
2023-12-09T01:59:55.7498366Z #0 building with "default" instance using docker driver
2023-12-09T01:59:55.7499052Z 
2023-12-09T01:59:55.7499338Z #1 [internal] load .dockerignore
2023-12-09T01:59:55.7499946Z #1 transferring context: 2B done
2023-12-09T01:59:55.7500670Z #1 DONE 0.0s
2023-12-09T01:59:55.7500993Z 
2023-12-09T01:59:55.7501321Z #2 [internal] load build definition from Dockerfile
2023-12-09T01:59:55.7502122Z #2 transferring dockerfile: 215B done
2023-12-09T01:59:55.7502820Z #2 DONE 0.0s
2023-12-09T01:59:55.7503158Z 
2023-12-09T01:59:55.7503508Z #3 [internal] load metadata for docker.io/library/alpine:3.19
2023-12-09T01:59:55.8995486Z #3 ...
2023-12-09T01:59:55.8995753Z 
2023-12-09T01:59:55.8996109Z #4 [auth] library/alpine:pull token for registry-1.docker.io
2023-12-09T01:59:55.8996605Z #4 DONE 0.0s
2023-12-09T01:59:56.0495997Z 
2023-12-09T01:59:56.0497130Z #3 [internal] load metadata for docker.io/library/alpine:3.19
2023-12-09T01:59:56.6514193Z #3 DONE 0.9s
2023-12-09T01:59:56.6514706Z 
2023-12-09T01:59:56.6514919Z #5 [internal] load build context
2023-12-09T01:59:56.6515411Z #5 transferring context: 4.01kB done
2023-12-09T01:59:56.6515799Z #5 DONE 0.0s
2023-12-09T01:59:56.6516091Z 
2023-12-09T01:59:56.6516601Z #6 [1/3] FROM docker.io/library/alpine:3.19@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48
2023-12-09T01:59:56.6517738Z #6 resolve docker.io/library/alpine:3.19@sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 0.0s done
2023-12-09T01:59:56.7803067Z #6 sha256:51b67269f354137895d43f3b3d810bfacd3945438e94dc5ac55fdac340352f48 1.64kB / 1.64kB done
2023-12-09T01:59:56.7805003Z #6 sha256:13b7e62e8df80264dbb747995705a986aa530415763a6c58f84a3ca8af9a5bcd 528B / 528B done
2023-12-09T01:59:56.7807046Z #6 sha256:f8c20f8bbcb684055b4fea470fdd169c86e87786940b3262335b12ec3adef418 1.47kB / 1.47kB done
2023-12-09T01:59:56.7808880Z #6 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0B / 3.41MB 0.1s
2023-12-09T01:59:56.7809982Z #6 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca
2023-12-09T01:59:56.9084526Z #6 sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 3.41MB / 3.41MB 0.2s done
2023-12-09T01:59:56.9085596Z #6 extracting sha256:661ff4d9561e3fd050929ee5097067c34bafc523ee60f5294a37fd08056a73ca 0.1s done
2023-12-09T01:59:56.9086784Z #6 DONE 0.3s
2023-12-09T01:59:57.0592648Z 
2023-12-09T01:59:57.0593723Z #7 [2/3] RUN apk --no-cache add     git     git-lfs     gnupg &&     rm -rf /var/cache/apk/*
2023-12-09T01:59:57.2104816Z #7 0.186 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/main/x86_64/APKINDEX.tar.gz
2023-12-09T01:59:57.6613813Z #7 0.669 fetch https://dl-cdn.alpinelinux.org/alpine/v3.19/community/x86_64/APKINDEX.tar.gz
2023-12-09T01:59:58.0850027Z #7 1.144 (1/41) Installing ca-certificates (20230506-r0)
2023-12-09T01:59:58.0850805Z #7 1.175 (2/41) Installing brotli-libs (1.1.0-r1)
2023-12-09T01:59:58.1921371Z #7 1.206 (3/41) Installing c-ares (1.22.1-r0)
2023-12-09T01:59:58.1924086Z #7 1.218 (4/41) Installing libunistring (1.1-r2)
2023-12-09T01:59:58.1929578Z #7 1.257 (5/41) Installing libidn2 (2.3.4-r4)
2023-12-09T01:59:58.1930977Z #7 1.270 (6/41) Installing nghttp2-libs (1.58.0-r0)
2023-12-09T01:59:58.1932167Z #7 1.282 (7/41) Installing libcurl (8.5.0-r0)
2023-12-09T01:59:58.3424245Z #7 1.302 (8/41) Installing libexpat (2.5.0-r2)
2023-12-09T01:59:58.3425163Z #7 1.314 (9/41) Installing pcre2 (10.42-r2)
2023-12-09T01:59:58.3426128Z #7 1.334 (10/41) Installing git (2.43.0-r0)
2023-12-09T01:59:58.4511672Z #7 1.445 (11/41) Installing git-lfs (3.4.0-r1)
2023-12-09T01:59:58.4512655Z #7 1.541 Executing git-lfs-3.4.0-r1.post-install
2023-12-09T01:59:58.5610553Z #7 1.555 Git LFS initialized.
2023-12-09T01:59:58.5611884Z #7 1.557 (12/41) Installing libgpg-error (1.47-r2)
2023-12-09T01:59:58.5613014Z #7 1.568 (13/41) Installing libassuan (2.5.6-r1)
2023-12-09T01:59:58.5614519Z #7 1.578 (14/41) Installing ncurses-terminfo-base (6.4_p20231125-r0)
2023-12-09T01:59:58.5615704Z #7 1.592 (15/41) Installing libncursesw (6.4_p20231125-r0)
2023-12-09T01:59:58.5616820Z #7 1.606 (16/41) Installing pinentry (1.2.1-r1)
2023-12-09T01:59:58.5617607Z #7 1.617 Executing pinentry-1.2.1-r1.post-install
2023-12-09T01:59:58.5618280Z #7 1.620 (17/41) Installing libgcrypt (1.10.3-r0)
2023-12-09T01:59:58.5618937Z #7 1.639 (18/41) Installing gnupg-gpgconf (2.4.3-r1)
2023-12-09T01:59:58.5619434Z #7 1.651 (19/41) Installing gmp (6.3.0-r0)
2023-12-09T01:59:58.6682815Z #7 1.671 (20/41) Installing nettle (3.9.1-r0)
2023-12-09T01:59:58.6683775Z #7 1.686 (21/41) Installing libffi (3.4.4-r3)
2023-12-09T01:59:58.6684353Z #7 1.696 (22/41) Installing libtasn1 (4.19.0-r2)
2023-12-09T01:59:58.6684822Z #7 1.706 (23/41) Installing p11-kit (0.25.3-r0)
2023-12-09T01:59:58.6685424Z #7 1.724 (24/41) Installing gnutls (3.8.1-r0)
2023-12-09T01:59:58.6685926Z #7 1.746 (25/41) Installing libksba (1.6.5-r0)
2023-12-09T01:59:58.6686350Z #7 1.758 (26/41) Installing gdbm (1.23-r1)
2023-12-09T01:59:58.7762020Z #7 1.773 (27/41) Installing libsasl (2.1.28-r5)
2023-12-09T01:59:58.7763054Z #7 1.785 (28/41) Installing libldap (2.6.6-r1)
2023-12-09T01:59:58.7765422Z #7 1.799 (29/41) Installing npth (1.6-r4)
2023-12-09T01:59:58.7766219Z #7 1.808 (30/41) Installing gnupg-dirmngr (2.4.3-r1)
2023-12-09T01:59:58.7766901Z #7 1.823 (31/41) Installing sqlite-libs (3.44.2-r0)
2023-12-09T01:59:58.7767450Z #7 1.844 (32/41) Installing gnupg-keyboxd (2.4.3-r1)
2023-12-09T01:59:58.7767947Z #7 1.856 (33/41) Installing libbz2 (1.0.8-r6)
2023-12-09T01:59:58.7769069Z #7 1.866 (34/41) Installing gpg (2.4.3-r1)
2023-12-09T01:59:58.8853450Z #7 1.883 (35/41) Installing gpg-agent (2.4.3-r1)
2023-12-09T01:59:58.8854634Z #7 1.898 (36/41) Installing gpg-wks-server (2.4.3-r1)
2023-12-09T01:59:58.8855582Z #7 1.909 (37/41) Installing gpgsm (2.4.3-r1)
2023-12-09T01:59:58.8856384Z #7 1.923 (38/41) Installing gpgv (2.4.3-r1)
2023-12-09T01:59:58.8857404Z #7 1.938 (39/41) Installing gnupg-utils (2.4.3-r1)
2023-12-09T01:59:58.8858363Z #7 1.954 (40/41) Installing gnupg-wks-client (2.4.3-r1)
2023-12-09T01:59:58.8859268Z #7 1.966 (41/41) Installing gnupg (2.4.3-r1)
2023-12-09T01:59:58.8860228Z #7 1.975 Executing busybox-1.36.1-r15.trigger
2023-12-09T01:59:59.0359590Z #7 1.980 Executing ca-certificates-20230506-r0.trigger
2023-12-09T01:59:59.0360197Z #7 2.023 OK: 44 MiB in 56 packages
2023-12-09T01:59:59.1869659Z #7 DONE 2.2s
2023-12-09T01:59:59.1870073Z 
2023-12-09T01:59:59.1870345Z #8 [3/3] COPY entrypoint.sh /entrypoint.sh
2023-12-09T01:59:59.1871286Z #8 DONE 0.0s
2023-12-09T01:59:59.1871584Z 
2023-12-09T01:59:59.1871841Z #9 exporting to image
2023-12-09T01:59:59.1872442Z #9 exporting layers
2023-12-09T02:00:00.0245455Z #9 exporting layers 0.9s done
2023-12-09T02:00:00.0246978Z #9 writing image sha256:ef13a4a75bdcf9d0ee8e3541fd0af3e73ce33f598ada740161d666e7a60f5147 done
2023-12-09T02:00:00.0248818Z #9 naming to docker.io/library/2b2380:769ffb0de0274a3fabd7cf5533b53444 done
2023-12-09T02:00:00.0249862Z #9 DONE 0.9s
2023-12-09T02:00:00.0296927Z ##[endgroup]
2023-12-09T02:00:00.0689419Z ##[group]Run google-github-actions/release-please-action@v4
2023-12-09T02:00:00.0690173Z with:
2023-12-09T02:00:00.0691191Z   token: ***
2023-12-09T02:00:00.0691570Z   release-type: simple
2023-12-09T02:00:00.0692086Z   repo-url: linrongbin16/ci-template.nvim
2023-12-09T02:00:00.0692550Z   github-api-url: https://api.github.com
2023-12-09T02:00:00.0693079Z   github-graphql-url: https://api.github.com/graphql
2023-12-09T02:00:00.0693657Z   fork: false
2023-12-09T02:00:00.0694016Z   include-component-in-tag: false
2023-12-09T02:00:00.0694399Z   skip-github-release: false
2023-12-09T02:00:00.0694875Z   skip-github-pull-request: false
2023-12-09T02:00:00.0695279Z ##[endgroup]
2023-12-09T02:00:00.9474388Z ✔ Looking for latest release on branch: main with prefix: 
2023-12-09T02:00:00.9475770Z ❯ Fetching merge commits on branch main with cursor: undefined
2023-12-09T02:00:03.4087843Z ❯ Found latest release pull request: 11 version: 1.2.0
2023-12-09T02:00:03.4089951Z ❯ Fetching releases with cursor undefined
2023-12-09T02:00:03.7043627Z ❯ found release for  Version {
2023-12-09T02:00:03.7044549Z   major: 1,
2023-12-09T02:00:03.7045369Z   minor: 0,
2023-12-09T02:00:03.7046003Z   patch: 0,
2023-12-09T02:00:03.7046665Z   preRelease: undefined,
2023-12-09T02:00:03.7047511Z   build: undefined
2023-12-09T02:00:03.7048487Z }
2023-12-09T02:00:03.7049466Z ❯ SHA not found in recent commits to branch main, skipping
2023-12-09T02:00:03.7050740Z ❯ found 1 possible releases. [
2023-12-09T02:00:03.7051458Z   Version {
2023-12-09T02:00:03.7051890Z     major: 1,
2023-12-09T02:00:03.7052468Z     minor: 2,
2023-12-09T02:00:03.7052975Z     patch: 0,
2023-12-09T02:00:03.7053441Z     preRelease: undefined,
2023-12-09T02:00:03.7054123Z     build: undefined
2023-12-09T02:00:03.7054659Z   }
2023-12-09T02:00:03.7055096Z ]
2023-12-09T02:00:03.7056560Z ✔ Building releases
2023-12-09T02:00:03.7056941Z ✔ Building strategies by path
2023-12-09T02:00:03.7057451Z ❯ .: simple
2023-12-09T02:00:04.1830062Z ✔ Looking for latest release on branch: main with prefix: 
2023-12-09T02:00:04.1831543Z ❯ Fetching merge commits on branch main with cursor: undefined
2023-12-09T02:00:05.4006996Z ❯ Found latest release pull request: 11 version: 1.2.0
2023-12-09T02:00:05.4007799Z ❯ Fetching releases with cursor undefined
2023-12-09T02:00:05.6875599Z ❯ found release for  Version {
2023-12-09T02:00:05.6876459Z   major: 1,
2023-12-09T02:00:05.6877345Z   minor: 0,
2023-12-09T02:00:05.6877962Z   patch: 0,
2023-12-09T02:00:05.6878484Z   preRelease: undefined,
2023-12-09T02:00:05.6879864Z   build: undefined
2023-12-09T02:00:05.6880423Z }
2023-12-09T02:00:05.6881297Z ❯ SHA not found in recent commits to branch main, skipping
2023-12-09T02:00:05.6882506Z ❯ found 1 possible releases. [
2023-12-09T02:00:05.6883238Z   Version {
2023-12-09T02:00:05.6883790Z     major: 1,
2023-12-09T02:00:05.6884442Z     minor: 2,
2023-12-09T02:00:05.6884918Z     patch: 0,
2023-12-09T02:00:05.6885498Z     preRelease: undefined,
2023-12-09T02:00:05.6886264Z     build: undefined
2023-12-09T02:00:05.6886809Z   }
2023-12-09T02:00:05.6887339Z ]
2023-12-09T02:00:05.6889089Z ✔ Building pull requests
2023-12-09T02:00:05.6889903Z ✔ Building strategies by path
2023-12-09T02:00:05.6890772Z ❯ .: simple
2023-12-09T02:00:05.6891424Z ✔ Collecting release commit SHAs
2023-12-09T02:00:05.6892315Z ❯ release search depth: 400
2023-12-09T02:00:05.6893352Z ❯ Fetching releases with cursor undefined
2023-12-09T02:00:06.0033914Z ⚠ Expected 1 releases, only found 0
2023-12-09T02:00:06.0035255Z ⚠ Missing 1 paths: .
2023-12-09T02:00:06.2131045Z ⚠ Expected 1 releases, only found 0
2023-12-09T02:00:06.2132297Z ❯ looking for tagName: v1.2.0
2023-12-09T02:00:06.2132978Z ✔ Collecting commits since all latest releases
2023-12-09T02:00:06.2133592Z ❯ commit search depth: 500
2023-12-09T02:00:06.2134142Z ❯ Set(0) {}
2023-12-09T02:00:06.2134756Z ❯ Fetching merge commits on branch main with cursor: undefined
2023-12-09T02:00:07.3782966Z ❯ Backfilling file list for commit: af072808090d40b7571075d58a056f08aad38806
2023-12-09T02:00:07.6534843Z ❯ Found 2 files
2023-12-09T02:00:07.8654542Z ❯ Backfilling file list for commit: 8e410c01dddfabe1e0b54c79f75e2bfbcbb3d47d
2023-12-09T02:00:07.8655957Z ❯ Found 2 files
2023-12-09T02:00:07.8657138Z ❯ Backfilling file list for commit: 64ea51db53432200373812a457b36e4642006b5d
2023-12-09T02:00:08.1155147Z ❯ Found 2 files
2023-12-09T02:00:08.1156875Z ❯ Backfilling file list for commit: 725ed40033e755940c3b65d698324e89ea9b00dd
2023-12-09T02:00:08.3249043Z ❯ Found 2 files
2023-12-09T02:00:08.3250265Z ❯ Backfilling file list for commit: 92ee4855ec842794a353ffd5b3f343dd02a689fb
2023-12-09T02:00:08.5146661Z ❯ Found 2 files
2023-12-09T02:00:08.5148193Z ❯ Backfilling file list for commit: 0245c9377d2b121907d9d1dd98d535eaac7d3ae7
2023-12-09T02:00:08.7380308Z ❯ Found 1 files
2023-12-09T02:00:08.7381502Z ❯ Backfilling file list for commit: 2fb7d747056ab37d537931bfe2e73880233adfb8
2023-12-09T02:00:08.9336871Z ❯ Found 1 files
2023-12-09T02:00:08.9338134Z ❯ Backfilling file list for commit: 28cb7d0dce371c24be6d6d83b8d946f5da48b5ae
2023-12-09T02:00:09.1441162Z ❯ Found 1 files
2023-12-09T02:00:09.1442338Z ❯ Backfilling file list for commit: bfd498aab95bcda96214327e590b737a553fdcf4
2023-12-09T02:00:09.3425664Z ❯ Found 1 files
2023-12-09T02:00:09.3426900Z ❯ Backfilling file list for commit: b540e463d02bd55889762062a1c75dd9112d69af
2023-12-09T02:00:09.5355673Z ❯ Found 1 files
2023-12-09T02:00:09.5357021Z ❯ Backfilling file list for commit: 0152aba4b9bfb7431227d0beac7002a7869a52d0
2023-12-09T02:00:09.7233799Z ❯ Found 1 files
2023-12-09T02:00:09.7234804Z ❯ Backfilling file list for commit: d1b177dcf2790c455c9c2f103609b645a355ff7a
2023-12-09T02:00:09.9191327Z ❯ Found 2 files
2023-12-09T02:00:10.1091997Z ❯ Backfilling file list for commit: be3457b9acade14d5d1aa393485768226460bc06
2023-12-09T02:00:10.1092687Z ❯ Found 2 files
2023-12-09T02:00:10.2886619Z ❯ Backfilling file list for commit: ea4eb526bc46e117d83a80935defd2c1efd34c13
2023-12-09T02:00:10.2887334Z ❯ Found 1 files
2023-12-09T02:00:10.2888582Z ❯ Backfilling file list for commit: 54a861862a90928b87a9bf70066ea1ed94adee9c
2023-12-09T02:00:10.6057661Z ❯ Found 1 files
2023-12-09T02:00:10.6058685Z ❯ Backfilling file list for commit: 6127e76bac797180d97e1ec75901c2dea6fc5622
2023-12-09T02:00:10.8104024Z ❯ Found 2 files
2023-12-09T02:00:10.8105123Z ❯ Backfilling file list for commit: 3d090936bfd12b2c8fddceda31852e9bff38216a
2023-12-09T02:00:11.0406853Z ❯ Found 1 files
2023-12-09T02:00:11.0408256Z ❯ Backfilling file list for commit: fb9f213f0dcc64421b9ed92679248b64ae21d348
2023-12-09T02:00:11.2178142Z ❯ Found 1 files
2023-12-09T02:00:11.2179399Z ❯ Backfilling file list for commit: d2e45d93dd4b9b242de39952aab92628bcaf5848
2023-12-09T02:00:11.4267294Z ❯ Found 1 files
2023-12-09T02:00:11.4268344Z ❯ Backfilling file list for commit: eb5ed0f1d789bf2d991b4f7e927da05807ab7d89
2023-12-09T02:00:11.6253364Z ❯ Found 1 files
2023-12-09T02:00:11.6254715Z ❯ Backfilling file list for commit: ae8d7dcf9ad9d1f5892abaeca54fd10c7f5bbc6d
2023-12-09T02:00:11.8312801Z ❯ Found 1 files
2023-12-09T02:00:11.8313783Z ❯ Backfilling file list for commit: 219a0fe86ddd2b1dcd4c4f8779e8aa4778959785
2023-12-09T02:00:11.9916925Z ❯ Found 3 files
2023-12-09T02:00:11.9918232Z ❯ Backfilling file list for commit: cc07fc0f8634d2cc01aa46d76795f6fd2c2acc51
2023-12-09T02:00:12.1650723Z ❯ Found 1 files
2023-12-09T02:00:12.1651776Z ❯ Backfilling file list for commit: 1056a32674c6635d42a57be6ea92221e5cb9e847
2023-12-09T02:00:12.3291485Z ❯ Found 1 files
2023-12-09T02:00:12.3292633Z ❯ Fetching merge commits on branch main with cursor: af072808090d40b7571075d58a056f08aad38806 24
2023-12-09T02:00:13.2861574Z ❯ Backfilling file list for commit: ca3d43b3cdb605a2e261c4df2ed3ec0dc3435ee7
2023-12-09T02:00:13.4759746Z ❯ Found 1 files
2023-12-09T02:00:13.4760445Z ❯ Backfilling file list for commit: 2054d2e3529c93f73e07885bc37a5754c237e238
2023-12-09T02:00:13.6601246Z ❯ Found 1 files
2023-12-09T02:00:13.6602163Z ❯ Backfilling file list for commit: 45ca880a866bdad6920836e28f4165d1a7f6fefa
2023-12-09T02:00:13.8452084Z ❯ Found 1 files
2023-12-09T02:00:13.8453755Z ❯ Backfilling file list for commit: de58922a877e96605882d54dbd998f33a06394a5
2023-12-09T02:00:14.0119706Z ❯ Found 1 files
2023-12-09T02:00:14.1827148Z ❯ Backfilling file list for commit: 45e3eb937ba5e146291a89d4af4dcb42383c6e0f
2023-12-09T02:00:14.1828010Z ❯ Found 1 files
2023-12-09T02:00:14.1828564Z ❯ Backfilling file list for commit: f035167dd608db920785829b396115aab50ca6c9
2023-12-09T02:00:14.3860792Z ❯ Found 1 files
2023-12-09T02:00:14.3861598Z ❯ Backfilling file list for commit: bb37958f294dea7ba978859e3ad562e91952c834
2023-12-09T02:00:14.5574111Z ❯ Found 1 files
2023-12-09T02:00:14.5574972Z ❯ Backfilling file list for commit: 92a4aac0f73bc07bfb0b070f4a8de4bafeda88ba
2023-12-09T02:00:14.7384182Z ❯ Found 1 files
2023-12-09T02:00:14.7385019Z ❯ Backfilling file list for commit: 9f48061a8c1a3a0469913c08f3ca35d62357f853
2023-12-09T02:00:14.9411087Z ❯ Found 1 files
2023-12-09T02:00:14.9411952Z ❯ Backfilling file list for commit: c52e1a0695a4e8012af1d6decd0527004232a5fa
2023-12-09T02:00:15.1228535Z ❯ Found 1 files
2023-12-09T02:00:15.1229618Z ❯ Backfilling file list for commit: 9cd8fbe224487206197cb3d6dfd7eddd048fe8f9
2023-12-09T02:00:15.3199102Z ❯ Found 1 files
2023-12-09T02:00:15.3200333Z ❯ Backfilling file list for commit: a6c317168e1807146df772fb1b17b16a35c7edb2
2023-12-09T02:00:15.5023261Z ❯ Found 1 files
2023-12-09T02:00:15.5024421Z ❯ Backfilling file list for commit: b4cebe684edc762b00b27210d5d6edd15ce880de
2023-12-09T02:00:15.7018877Z ❯ Found 1 files
2023-12-09T02:00:15.7020227Z ❯ Backfilling file list for commit: 3aebef77957caa3f63304fe25eb07ae5f951472e
2023-12-09T02:00:15.9224816Z ❯ Found 1 files
2023-12-09T02:00:15.9226048Z ❯ Backfilling file list for commit: c1f411d8486bcd1eaaa4afafac6cc42ef0053198
2023-12-09T02:00:16.1158650Z ❯ Found 3 files
2023-12-09T02:00:16.1160359Z ✔ Splitting 40 commits by path
2023-12-09T02:00:16.1169225Z ✔ No latest release found for path: ., component: , but a previous version (1.2.0) was specified in the manifest.
2023-12-09T02:00:16.1171122Z ✔ Building candidate release pull request for path: .
2023-12-09T02:00:16.1172079Z ❯ type: simple
2023-12-09T02:00:16.1172894Z ❯ targetBranch: main
2023-12-09T02:00:16.1179184Z ❯ commit could not be parsed: af072808090d40b7571075d58a056f08aad38806 Merge pull request #11 from linrongbin16/release-please--branches--main
2023-12-09T02:00:16.1196421Z ❯ commit could not be parsed: 0245c9377d2b121907d9d1dd98d535eaac7d3ae7 Update luarocks.yml
2023-12-09T02:00:16.1198345Z ❯ commit could not be parsed: 2fb7d747056ab37d537931bfe2e73880233adfb8 Update ci.yml
2023-12-09T02:00:16.1200592Z ❯ commit could not be parsed: 28cb7d0dce371c24be6d6d83b8d946f5da48b5ae Create luarocks.yml
2023-12-09T02:00:16.1204634Z ❯ commit could not be parsed: d1b177dcf2790c455c9c2f103609b645a355ff7a Merge pull request #5 from linrongbin16/release-please--branches--main--components--actiontest.nvim
2023-12-09T02:00:16.1221681Z ❯ commit could not be parsed: 3d090936bfd12b2c8fddceda31852e9bff38216a Delete test/actiontest_spec.lua
2023-12-09T02:00:16.1223671Z ❯ commit could not be parsed: fb9f213f0dcc64421b9ed92679248b64ae21d348 Delete lua/actiontest.lua
2023-12-09T02:00:16.1225597Z ❯ commit could not be parsed: d2e45d93dd4b9b242de39952aab92628bcaf5848 Create ci_template_spec.lua
2023-12-09T02:00:16.1227595Z ❯ commit could not be parsed: eb5ed0f1d789bf2d991b4f7e927da05807ab7d89 Update ci-template.lua
2023-12-09T02:00:16.1229381Z ❯ commit could not be parsed: ae8d7dcf9ad9d1f5892abaeca54fd10c7f5bbc6d Create ci-template.lua
2023-12-09T02:00:16.1235802Z ❯ commit could not be parsed: 1056a32674c6635d42a57be6ea92221e5cb9e847 Update ci.yml
2023-12-09T02:00:16.1237713Z ❯ commit could not be parsed: ca3d43b3cdb605a2e261c4df2ed3ec0dc3435ee7 Update .stylua.toml
2023-12-09T02:00:16.1239428Z ❯ commit could not be parsed: 2054d2e3529c93f73e07885bc37a5754c237e238 Create .stylua.toml
2023-12-09T02:00:16.1245018Z ❯ commit could not be parsed: 45e3eb937ba5e146291a89d4af4dcb42383c6e0f Update ci.yml
2023-12-09T02:00:16.1247074Z ❯ commit could not be parsed: f035167dd608db920785829b396115aab50ca6c9 Create version.txt
2023-12-09T02:00:16.1249092Z ❯ commit could not be parsed: bb37958f294dea7ba978859e3ad562e91952c834 Create .luacheckrc
2023-12-09T02:00:16.1251005Z ❯ commit could not be parsed: 92a4aac0f73bc07bfb0b070f4a8de4bafeda88ba Create .luarc.json
2023-12-09T02:00:16.1252717Z ❯ commit could not be parsed: 9f48061a8c1a3a0469913c08f3ca35d62357f853 Create ci.yml
2023-12-09T02:00:16.1254480Z ❯ commit could not be parsed: c52e1a0695a4e8012af1d6decd0527004232a5fa Update actiontest_spec.lua
2023-12-09T02:00:16.1256547Z ❯ commit could not be parsed: 9cd8fbe224487206197cb3d6dfd7eddd048fe8f9 Create actiontest_spec.lua
2023-12-09T02:00:16.1257983Z ⚠ No latest release pull request found.
2023-12-09T02:00:16.1259425Z ❯ commit could not be parsed: a6c317168e1807146df772fb1b17b16a35c7edb2 Update actiontest.lua
2023-12-09T02:00:16.1261403Z ❯ commit could not be parsed: b4cebe684edc762b00b27210d5d6edd15ce880de Create actiontest.lua
2023-12-09T02:00:16.1263226Z ❯ commit could not be parsed: 3aebef77957caa3f63304fe25eb07ae5f951472e Update README.md
2023-12-09T02:00:16.1264928Z ❯ commit could not be parsed: c1f411d8486bcd1eaaa4afafac6cc42ef0053198 Initial commit
2023-12-09T02:00:16.1266301Z ❯ commits: 21
2023-12-09T02:00:16.1267010Z ✔ Considering: 21 commits
2023-12-09T02:00:16.1267772Z ❯ component: 
2023-12-09T02:00:16.1268645Z ❯ pull request title pattern: undefined
2023-12-09T02:00:16.6133680Z ✔ Looking for open release pull requests
2023-12-09T02:00:16.7511468Z ✔ found 0 open release pull requests.
2023-12-09T02:00:16.7512548Z ✔ Looking for snoozed release pull requests
2023-12-09T02:00:17.2538246Z ✔ found 0 snoozed release pull requests.
2023-12-09T02:00:17.2544213Z ❯ Fetching CHANGELOG.md from branch main
2023-12-09T02:00:17.6269021Z ❯ Fetching version.txt from branch main
2023-12-09T02:00:17.7764996Z ❯ Fetching .release-please-manifest.json from branch main
2023-12-09T02:00:17.7766016Z ⚠ file .release-please-manifest.json did not exist
2023-12-09T02:00:17.7769499Z ✔ Starting GitHub PR workflow...
2023-12-09T02:00:17.9715510Z ✔ Successfully found branch HEAD sha "af072808090d40b7571075d58a056f08aad38806".
2023-12-09T02:00:18.5132136Z ✔ Successfully created branch at https://api.github.com/repos/linrongbin16/ci-template.nvim/git/refs/heads/release-please--branches--main
2023-12-09T02:00:18.7487171Z ✔ Got the latest commit tree
2023-12-09T02:00:18.9441137Z ✔ Successfully created a tree with the desired changes with SHA 3e4079121842acc6643c92f5c7b55b20648e8ffa
2023-12-09T02:00:19.1652393Z ✔ Successfully created commit. See commit at https://api.github.com/repos/linrongbin16/ci-template.nvim/git/commits/9024a2d09ca62084e7836341b6e86a4ea5e683df
2023-12-09T02:00:19.1654537Z ✔ Updating reference heads/release-please--branches--main to 9024a2d09ca62084e7836341b6e86a4ea5e683df
2023-12-09T02:00:19.5212513Z ✔ Successfully updated reference release-please--branches--main to 9024a2d09ca62084e7836341b6e86a4ea5e683df
2023-12-09T02:00:20.7073831Z ✔ Successfully opened pull request available at url: https://api.github.com/repos/linrongbin16/ci-template.nvim/pulls/12.
2023-12-09T02:00:20.7074866Z ✔ Successfully opened pull request: 12.
2023-12-09T02:00:21.3412074Z ✔ Successfully added labels autorelease: pending to issue: 12
2023-12-09T02:00:21.8429326Z ##[group]Run actions/checkout@v4
2023-12-09T02:00:21.8429756Z with:
2023-12-09T02:00:21.8430199Z   repository: linrongbin16/ci-template.nvim
2023-12-09T02:00:21.8430758Z   token: ***
2023-12-09T02:00:21.8431082Z   ssh-strict: true
2023-12-09T02:00:21.8431519Z   persist-credentials: true
2023-12-09T02:00:21.8431921Z   clean: true
2023-12-09T02:00:21.8432233Z   sparse-checkout-cone-mode: true
2023-12-09T02:00:21.8432713Z   fetch-depth: 1
2023-12-09T02:00:21.8433044Z   fetch-tags: false
2023-12-09T02:00:21.8433354Z   show-progress: true
2023-12-09T02:00:21.8433772Z   lfs: false
2023-12-09T02:00:21.8434087Z   submodules: false
2023-12-09T02:00:21.8434444Z   set-safe-directory: true
2023-12-09T02:00:21.8434829Z ##[endgroup]
2023-12-09T02:00:21.9290440Z Syncing repository: linrongbin16/ci-template.nvim
2023-12-09T02:00:21.9292235Z ##[group]Getting Git version info
2023-12-09T02:00:21.9293566Z Working directory is '/home/runner/work/ci-template.nvim/ci-template.nvim'
2023-12-09T02:00:21.9295211Z [command]/usr/bin/git version
2023-12-09T02:00:21.9295844Z git version 2.43.0
2023-12-09T02:00:21.9298262Z ##[endgroup]
2023-12-09T02:00:21.9313549Z Temporarily overriding HOME='/home/runner/work/_temp/75c0e554-7966-416a-b585-6b63b0ab5e38' before making global git config changes
2023-12-09T02:00:21.9315070Z Adding repository directory to the temporary git global config as a safe directory
2023-12-09T02:00:21.9318170Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ci-template.nvim/ci-template.nvim
2023-12-09T02:00:21.9350044Z Deleting the contents of '/home/runner/work/ci-template.nvim/ci-template.nvim'
2023-12-09T02:00:21.9355677Z ##[group]Initializing the repository
2023-12-09T02:00:21.9359227Z [command]/usr/bin/git init /home/runner/work/ci-template.nvim/ci-template.nvim
2023-12-09T02:00:21.9417615Z hint: Using 'master' as the name for the initial branch. This default branch name
2023-12-09T02:00:21.9419187Z hint: is subject to change. To configure the initial branch name to use in all
2023-12-09T02:00:21.9420590Z hint: of your new repositories, which will suppress this warning, call:
2023-12-09T02:00:21.9421545Z hint: 
2023-12-09T02:00:21.9422516Z hint:  git config --global init.defaultBranch <name>
2023-12-09T02:00:21.9423380Z hint: 
2023-12-09T02:00:21.9424245Z hint: Names commonly chosen instead of 'master' are 'main', 'trunk' and
2023-12-09T02:00:21.9426064Z hint: 'development'. The just-created branch can be renamed via this command:
2023-12-09T02:00:21.9427241Z hint: 
2023-12-09T02:00:21.9428008Z hint:  git branch -m <name>
2023-12-09T02:00:21.9429212Z Initialized empty Git repository in /home/runner/work/ci-template.nvim/ci-template.nvim/.git/
2023-12-09T02:00:21.9440789Z [command]/usr/bin/git remote add origin https://github.com/linrongbin16/ci-template.nvim
2023-12-09T02:00:21.9471708Z ##[endgroup]
2023-12-09T02:00:21.9472476Z ##[group]Disabling automatic garbage collection
2023-12-09T02:00:21.9474609Z [command]/usr/bin/git config --local gc.auto 0
2023-12-09T02:00:21.9502482Z ##[endgroup]
2023-12-09T02:00:21.9503158Z ##[group]Setting up auth
2023-12-09T02:00:21.9507536Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-12-09T02:00:21.9535644Z [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-12-09T02:00:21.9870940Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-12-09T02:00:21.9899085Z [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-12-09T02:00:22.0130922Z [command]/usr/bin/git config --local http.https://github.com/.extraheader AUTHORIZATION: basic ***
2023-12-09T02:00:22.0164548Z ##[endgroup]
2023-12-09T02:00:22.0165753Z ##[group]Fetching the repository
2023-12-09T02:00:22.0175134Z [command]/usr/bin/git -c protocol.version=2 fetch --no-tags --prune --no-recurse-submodules --depth=1 origin +af072808090d40b7571075d58a056f08aad38806:refs/remotes/origin/main
2023-12-09T02:00:22.3922958Z From https://github.com/linrongbin16/ci-template.nvim
2023-12-09T02:00:22.3923992Z  * [new ref]         af072808090d40b7571075d58a056f08aad38806 -> origin/main
2023-12-09T02:00:22.3949310Z ##[endgroup]
2023-12-09T02:00:22.3950021Z ##[group]Determining the checkout info
2023-12-09T02:00:22.3951548Z ##[endgroup]
2023-12-09T02:00:22.3952192Z ##[group]Checking out the ref
2023-12-09T02:00:22.3956032Z [command]/usr/bin/git checkout --progress --force -B main refs/remotes/origin/main
2023-12-09T02:00:22.4006427Z Switched to a new branch 'main'
2023-12-09T02:00:22.4007502Z branch 'main' set up to track 'origin/main'.
2023-12-09T02:00:22.4014156Z ##[endgroup]
2023-12-09T02:00:22.4049754Z [command]/usr/bin/git log -1 --format='%H'
2023-12-09T02:00:22.4072764Z 'af072808090d40b7571075d58a056f08aad38806'
2023-12-09T02:00:22.4276902Z Post job cleanup.
2023-12-09T02:00:22.5003529Z [command]/usr/bin/git version
2023-12-09T02:00:22.5042908Z git version 2.43.0
2023-12-09T02:00:22.5085913Z Temporarily overriding HOME='/home/runner/work/_temp/52b3361e-204d-43b1-ab24-4019d3d18fa4' before making global git config changes
2023-12-09T02:00:22.5087787Z Adding repository directory to the temporary git global config as a safe directory
2023-12-09T02:00:22.5091969Z [command]/usr/bin/git config --global --add safe.directory /home/runner/work/ci-template.nvim/ci-template.nvim
2023-12-09T02:00:22.5125794Z [command]/usr/bin/git config --local --name-only --get-regexp core\.sshCommand
2023-12-09T02:00:22.5157173Z [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-12-09T02:00:22.5412675Z [command]/usr/bin/git config --local --name-only --get-regexp http\.https\:\/\/github\.com\/\.extraheader
2023-12-09T02:00:22.5434949Z http.https://github.com/.extraheader
2023-12-09T02:00:22.5447161Z [command]/usr/bin/git config --local --unset-all http.https://github.com/.extraheader
2023-12-09T02:00:22.5481533Z [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-12-09T02:00:22.6027651Z Cleaning up orphan processes

Additional information

No response

chingor13 commented 10 months ago

You should only trigger release-please against pushes to your release branch(es). Try separating the release-please actions from your CI

linrongbin16 commented 10 months ago

You should only trigger release-please against pushes to your release branch(es). Try separating the release-please actions from your CI

thanks for reply!