Merges of PRs give errors in release-please: "commit could not be parsed"
See original GitHub issueTL;DR
Merges of PRs give error: “commit could not be parsed” . The commit messages are normal merge commits from GitHub that contain the text “feat: message”
Expected behavior
New release PR should be created.
Observed behavior
New release PR was not created.
Action YAML
# test-and-release.yml script version: 1.0.4
#
# Test that pull requests on core packages will install, compile and build on all target platforms.
# Then, execute the upm package release process using release-please.
#
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
#
# *** Clearing the cache ***
#
# To clear the cache, change the contents of the CACHE_VERSION secret.
#
# XXX
# XXX
# XXX
# XXX
# XXX
# XXX
name: release-please
on:
push:
branches:
- main
env:
UNITY_CORE_UPM_CI_REF: 'main'
jobs:
# Perform a matrix build on all selected platforms.
build:
name: Build for ${{ matrix.targetPlatform }}
runs-on: self-hosted
strategy:
fail-fast: false
matrix:
targetPlatform:
- Android
- iOS
- StandaloneOSX
- StandaloneWindows64
- WebGL
steps:
# Get repository name without the organization prefix.
- name: Get repository name
run: |
REPOSITORY_NAME=$(echo '${{ github.repository }}' | awk -F '/' '{print $2}')
echo "REPOSITORY_NAME=$REPOSITORY_NAME"
echo "REPOSITORY_NAME=$REPOSITORY_NAME" >> $GITHUB_ENV
# Install this repository as an embedded Unity package.
- name: Checkout repository to the Packages/${{ env.REPOSITORY_NAME }} folder.
uses: actions/checkout@v3
with:
lfs: true
path: Packages/${{ env.REPOSITORY_NAME }}
# Read package.json and save it into env.PACKAGE_JSON.
- name: Read package.json.
run: |
PACKAGE_JSON=$(cat Packages/${{ env.REPOSITORY_NAME }}/package.json)
echo "PACKAGE_JSON=$PACKAGE_JSON"
echo "PACKAGE_JSON<<EOF" >> $GITHUB_ENV
echo "$PACKAGE_JSON" >> $GITHUB_ENV
echo "EOF" >> $GITHUB_ENV
# Read name field from package.json and save it into env.PACKAGE_NAME.
- name: Get package name.
run: |
echo "PACKAGE_JSON=$PACKAGE_JSON"
echo "PACKAGE_NAME=${{ fromJson(env.PACKAGE_JSON).name }}"
echo "PACKAGE_NAME=${{ fromJson(env.PACKAGE_JSON).name }}" >> $GITHUB_ENV
# The directory in Packages must be named after the package name, not the repository name.
- name: Rename package directory from Packages/${{ env.REPOSITORY_NAME }} to Packages/${{ env.PACKAGE_NAME }}
run: |
mv Packages/${{ env.REPOSITORY_NAME }} Packages/${{ env.PACKAGE_NAME }}
# Get build environment variables from .github/build.env in the package
- name: Get repository environment
run: |
BUILD_ENV_FILE="Packages/${{ env.PACKAGE_NAME }}/.github/build.env"
echo "BUILD_ENV_FILE=$BUILD_ENV_FILE"
if test -f $BUILD_ENV_FILE; then
echo "Package build environment file '$BUILD_ENV_FILE' exists"
cat $BUILD_ENV_FILE
cat $BUILD_ENV_FILE >> $GITHUB_ENV
else
echo "Package build environment file '$BUILD_ENV_FILE' does not exist"
fi
# Checkout test harness repository.
# See https://github.com/actions/checkout#checkout-multiple-repos-private
- name: Checkout test harness repository from Attensi/unity_core_upm_ci
uses: actions/checkout@v3
with:
lfs: true
repository: Attensi/unity_core_upm_ci
ref: ${{ env.UNITY_CORE_UPM_CI_REF }}
# `GH_PAT_TOKEN` is a secret that contains a PAT, so that we can check out the test harness.
# We should use an organization secret for a PAT token created by a read-only user.
# Currently we are using Christian Tellefsen's PAT.
token: ${{ secrets.UNITY_BASE_GITHUB_TOKEN }}
# HACK: Above checkout wipes the package, we check it out again
# Install this repository as an embedded Unity package.
- name: Checkout repository to the Packages/${{ env.REPOSITORY_NAME }} folder.
uses: actions/checkout@v3
with:
lfs: true
path: Packages/${{ env.REPOSITORY_NAME }}
# The directory in Packages must be named after the package name, not the repository name.
- name: Rename package directory from Packages/${{ env.REPOSITORY_NAME }} to Packages/${{ env.PACKAGE_NAME }}
run: |
mv Packages/${{ env.REPOSITORY_NAME }} Packages/${{ env.PACKAGE_NAME }}
ls Packages
# Create authentication file. Required to download packages from upm.attensi.com.
# https://game.ci/docs/github/builder#upm-authentication-using-.upmconfig.toml
- name: Create .upmconfig.toml UPM authentication file
run: |
mkdir -p ${{ runner.temp }}/_github_home
cd ${{ runner.temp }}/_github_home
echo "[npmAuth.\"https://upm.attensi.com\"]" >> .upmconfig.toml
echo "alwaysAuth = true" >> .upmconfig.toml
echo "token = \"${{ secrets.UNITY_BASE_UPM_TOKEN }}\"" >> .upmconfig.toml
# Cache the Library folder.
# Force clear the cache by changing the CACHE_VERSION secret in this repository.
- name: Cache Library folder
uses: actions/cache@v3
with:
path: Library
key: Library-${{ matrix.targetPlatform }}-${{ secrets.CACHE_VERSION }}
# Build the project using GameCI (https://game.ci/docs/github/builder)
- name: Build Unity project
uses: game-ci/unity-builder@v2
env:
UNITY_EMAIL: ${{ secrets.UNITY_BASE_EDITOR_EMAIL }}
UNITY_PASSWORD: ${{ secrets.UNITY_BASE_EDITOR_PASSWORD }}
UNITY_SERIAL: ${{ secrets.UNITY_BASE_EDITOR_SERIAL }}
with:
targetPlatform: ${{ matrix.targetPlatform }}
versioning: None # Using the default Semantic versioning does not work with repository changes - and this build will not be distributed, so version does not matter.
# TODO: Add and run automated tests.
release-please:
name: Release Please
runs-on: self-hosted
needs: build
steps:
- name: Execute the Release Please action.
uses: google-github-actions/release-please-action@v3
id: release
with:
token: ${{ secrets.UNITY_BASE_GITHUB_TOKEN }}
release-type: node
package-name: ${{ github.repository.name }}
bump-minor-pre-major: true
# Check out the repository.
- name: Checkout repository.
uses: actions/checkout@v3
# these if statements ensure that a publication only occurs when
# a new release is created:
if: ${{ steps.release.outputs.release_created }}
with:
lfs: true
# Install node.
- name: Set up node.
uses: actions/setup-node@v3
with:
node-version: 16
# This is redundant if registry is specified in package.json. We keep it here to be on the safe side.
registry-url: "https://upm.attensi.com"
if: ${{ steps.release.outputs.release_created }}
# Publish the package to our package registry.
- name: Publish package to upm.attensi.com
run: npm publish
env:
NODE_AUTH_TOKEN: ${{secrets.UNITY_BASE_UPM_TOKEN}}
if: ${{ steps.release.outputs.release_created }}
Log output
2022-11-02T09:18:02.5627712Z Requested labels: self-hosted
2022-11-02T09:18:02.5627780Z Job defined at: Attensi/unity_core_cheats/.github/workflows/test-and-release.yml@refs/heads/main
2022-11-02T09:18:02.5627801Z Waiting for a runner to pick up this job...
2022-11-02T09:18:02.7057810Z Job is about to start running on the runner: unity-runner-529tm-pznfc (organization)
2022-11-02T09:18:07.6856436Z Current runner version: '2.298.2'
2022-11-02T09:18:07.6861001Z Runner name: 'unity-runner-529tm-pznfc'
2022-11-02T09:18:07.6861362Z Runner group name: 'Default'
2022-11-02T09:18:07.6861974Z Machine name: 'unity-runner-529tm-pznfc'
2022-11-02T09:18:07.6863385Z ##[group]GITHUB_TOKEN Permissions
2022-11-02T09:18:07.6863847Z Actions: write
2022-11-02T09:18:07.6864062Z Checks: write
2022-11-02T09:18:07.6864223Z Contents: write
2022-11-02T09:18:07.6864431Z Deployments: write
2022-11-02T09:18:07.6864642Z Discussions: write
2022-11-02T09:18:07.6864844Z Issues: write
2022-11-02T09:18:07.6865032Z Metadata: read
2022-11-02T09:18:07.6865192Z Packages: write
2022-11-02T09:18:07.6865379Z Pages: write
2022-11-02T09:18:07.6865592Z PullRequests: write
2022-11-02T09:18:07.6865822Z RepositoryProjects: write
2022-11-02T09:18:07.6866029Z SecurityEvents: write
2022-11-02T09:18:07.6866198Z Statuses: write
2022-11-02T09:18:07.6866407Z ##[endgroup]
2022-11-02T09:18:07.6869552Z Secret source: Actions
2022-11-02T09:18:07.6870010Z Prepare workflow directory
2022-11-02T09:18:07.7581069Z Prepare all required actions
2022-11-02T09:18:07.7718694Z Getting action download info
2022-11-02T09:18:08.3417355Z Download action repository 'google-github-actions/release-please-action@v3' (SHA:2a4590f9c1d322790253d997de5cad7f7ad4bc1b)
2022-11-02T09:18:08.8409008Z Download action repository 'actions/checkout@v3' (SHA:93ea575cb5d8a053eaa0ac8fa3b40d7e05a33cc8)
2022-11-02T09:18:09.2127711Z Download action repository 'actions/setup-node@v3' (SHA:8c91899e586c5b171469028077307d293428b516)
2022-11-02T09:18:09.7515634Z A job started hook has been configured by the self-hosted runner administrator
2022-11-02T09:18:09.7640941Z ##[group]Run '/etc/arc/hooks/job-started.sh'
2022-11-02T09:18:09.7655709Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-11-02T09:18:09.7655981Z ##[endgroup]
2022-11-02T09:18:09.7861710Z [0;37m2022-11-02 09:18:09.782 DEBUG --- Running ARC Job Started Hooks[0m
2022-11-02T09:18:09.7862214Z [0;37m2022-11-02 09:18:09.783 DEBUG --- Running hook: /etc/arc/hooks/job-started.d/update-status[0m
2022-11-02T09:18:09.8170962Z ##[group]Run google-github-actions/release-please-action@v3
2022-11-02T09:18:09.8171266Z with:
2022-11-02T09:18:09.8171671Z token: ***
2022-11-02T09:18:09.8171852Z release-type: node
2022-11-02T09:18:09.8172095Z bump-minor-pre-major: true
2022-11-02T09:18:09.8172323Z fork: false
2022-11-02T09:18:09.8172525Z clean: true
2022-11-02T09:18:09.8172746Z bump-patch-for-minor-pre-major: false
2022-11-02T09:18:09.8173007Z changelog-host: https://github.com
2022-11-02T09:18:09.8173284Z github-api-url: https://api.github.com
2022-11-02T09:18:09.8173561Z github-graphql-url: https://api.github.com/graphql
2022-11-02T09:18:09.8173938Z monorepo-tags: false
2022-11-02T09:18:09.8174140Z env:
2022-11-02T09:18:09.8174343Z UNITY_CORE_UPM_CI_REF: main
2022-11-02T09:18:09.8174520Z ##[endgroup]
2022-11-02T09:18:10.3276528Z ❯ Fetching package.json from branch main
2022-11-02T09:18:10.7764312Z ✔ Looking for latest release on branch: main with prefix: com.attensi.core.cheats
2022-11-02T09:18:10.7765261Z ❯ Fetching merge commits on branch main with cursor: undefined
2022-11-02T09:18:12.1673327Z ❯ Found latest release pull request: 31 version: 1.4.1
2022-11-02T09:18:12.1674213Z ❯ Fetching releases with cursor undefined
2022-11-02T09:18:12.6024094Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6024536Z major: 1,
2022-11-02T09:18:12.6024775Z minor: 4,
2022-11-02T09:18:12.6025016Z patch: 1,
2022-11-02T09:18:12.6025305Z preRelease: undefined,
2022-11-02T09:18:12.6025559Z build: undefined
2022-11-02T09:18:12.6025782Z }
2022-11-02T09:18:12.6026232Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6026554Z major: 1,
2022-11-02T09:18:12.6026775Z minor: 4,
2022-11-02T09:18:12.6027017Z patch: 0,
2022-11-02T09:18:12.6027265Z preRelease: undefined,
2022-11-02T09:18:12.6027516Z build: undefined
2022-11-02T09:18:12.6027749Z }
2022-11-02T09:18:12.6028175Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6029268Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6029565Z major: 1,
2022-11-02T09:18:12.6029778Z minor: 3,
2022-11-02T09:18:12.6029990Z patch: 0,
2022-11-02T09:18:12.6030244Z preRelease: undefined,
2022-11-02T09:18:12.6030487Z build: undefined
2022-11-02T09:18:12.6030697Z }
2022-11-02T09:18:12.6031102Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6031582Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6031889Z major: 1,
2022-11-02T09:18:12.6032132Z minor: 2,
2022-11-02T09:18:12.6032357Z patch: 3,
2022-11-02T09:18:12.6032608Z preRelease: undefined,
2022-11-02T09:18:12.6032872Z build: undefined
2022-11-02T09:18:12.6033095Z }
2022-11-02T09:18:12.6033483Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6033973Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6034269Z major: 1,
2022-11-02T09:18:12.6034667Z minor: 2,
2022-11-02T09:18:12.6034913Z patch: 2,
2022-11-02T09:18:12.6035172Z preRelease: undefined,
2022-11-02T09:18:12.6035422Z build: undefined
2022-11-02T09:18:12.6035651Z }
2022-11-02T09:18:12.6036040Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6036615Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6036931Z major: 1,
2022-11-02T09:18:12.6037160Z minor: 2,
2022-11-02T09:18:12.6037381Z patch: 1,
2022-11-02T09:18:12.6037601Z preRelease: undefined,
2022-11-02T09:18:12.6037850Z build: undefined
2022-11-02T09:18:12.6038075Z }
2022-11-02T09:18:12.6038503Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6038979Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6039301Z major: 1,
2022-11-02T09:18:12.6039530Z minor: 2,
2022-11-02T09:18:12.6039735Z patch: 0,
2022-11-02T09:18:12.6040006Z preRelease: undefined,
2022-11-02T09:18:12.6040275Z build: undefined
2022-11-02T09:18:12.6040527Z }
2022-11-02T09:18:12.6041133Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6041618Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6041955Z major: 1,
2022-11-02T09:18:12.6042175Z minor: 1,
2022-11-02T09:18:12.6042402Z patch: 0,
2022-11-02T09:18:12.6042661Z preRelease: undefined,
2022-11-02T09:18:12.6042921Z build: undefined
2022-11-02T09:18:12.6043149Z }
2022-11-02T09:18:12.6043544Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6044032Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6044338Z major: 1,
2022-11-02T09:18:12.6044580Z minor: 0,
2022-11-02T09:18:12.6044802Z patch: 0,
2022-11-02T09:18:12.6045043Z preRelease: undefined,
2022-11-02T09:18:12.6045274Z build: undefined
2022-11-02T09:18:12.6045506Z }
2022-11-02T09:18:12.6045919Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6046354Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:12.6046750Z major: 0,
2022-11-02T09:18:12.6046984Z minor: 0,
2022-11-02T09:18:12.6047210Z patch: 1,
2022-11-02T09:18:12.6047457Z preRelease: undefined,
2022-11-02T09:18:12.6047707Z build: undefined
2022-11-02T09:18:12.6047946Z }
2022-11-02T09:18:12.6048349Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:12.6048818Z ❯ found 2 possible releases. [
2022-11-02T09:18:12.6049099Z Version {
2022-11-02T09:18:12.6049329Z major: 1,
2022-11-02T09:18:12.6049573Z minor: 4,
2022-11-02T09:18:12.6049806Z patch: 1,
2022-11-02T09:18:12.6050068Z preRelease: undefined,
2022-11-02T09:18:12.6050329Z build: undefined
2022-11-02T09:18:12.6050553Z },
2022-11-02T09:18:12.6050766Z Version {
2022-11-02T09:18:12.6050979Z major: 1,
2022-11-02T09:18:12.6051194Z minor: 4,
2022-11-02T09:18:12.6051419Z patch: 1,
2022-11-02T09:18:12.6051640Z preRelease: undefined,
2022-11-02T09:18:12.6051876Z build: undefined
2022-11-02T09:18:12.6052233Z }
2022-11-02T09:18:12.6052448Z ]
2022-11-02T09:18:12.6052799Z ✔ Building releases
2022-11-02T09:18:12.6053144Z ✔ Building strategies by path
2022-11-02T09:18:12.6053494Z ❯ .: node
2022-11-02T09:18:13.6172587Z ❯ Fetching package.json from branch main
2022-11-02T09:18:13.6173355Z ✔ Looking for latest release on branch: main with prefix: com.attensi.core.cheats
2022-11-02T09:18:13.6173996Z ❯ Fetching merge commits on branch main with cursor: undefined
2022-11-02T09:18:14.5738026Z ❯ Found latest release pull request: 31 version: 1.4.1
2022-11-02T09:18:14.5738409Z ❯ Fetching releases with cursor undefined
2022-11-02T09:18:14.9298818Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9299152Z major: 1,
2022-11-02T09:18:14.9299390Z minor: 4,
2022-11-02T09:18:14.9299626Z patch: 1,
2022-11-02T09:18:14.9299903Z preRelease: undefined,
2022-11-02T09:18:14.9300163Z build: undefined
2022-11-02T09:18:14.9300406Z }
2022-11-02T09:18:14.9300826Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9301165Z major: 1,
2022-11-02T09:18:14.9301380Z minor: 4,
2022-11-02T09:18:14.9301586Z patch: 0,
2022-11-02T09:18:14.9301840Z preRelease: undefined,
2022-11-02T09:18:14.9302104Z build: undefined
2022-11-02T09:18:14.9302341Z }
2022-11-02T09:18:14.9302762Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9303262Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9303564Z major: 1,
2022-11-02T09:18:14.9303795Z minor: 3,
2022-11-02T09:18:14.9304077Z patch: 0,
2022-11-02T09:18:14.9304344Z preRelease: undefined,
2022-11-02T09:18:14.9304594Z build: undefined
2022-11-02T09:18:14.9304809Z }
2022-11-02T09:18:14.9305233Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9305699Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9306014Z major: 1,
2022-11-02T09:18:14.9306252Z minor: 2,
2022-11-02T09:18:14.9306461Z patch: 3,
2022-11-02T09:18:14.9306723Z preRelease: undefined,
2022-11-02T09:18:14.9307173Z build: undefined
2022-11-02T09:18:14.9307401Z }
2022-11-02T09:18:14.9307797Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9308181Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9308681Z major: 1,
2022-11-02T09:18:14.9308879Z minor: 2,
2022-11-02T09:18:14.9309058Z patch: 2,
2022-11-02T09:18:14.9309270Z preRelease: undefined,
2022-11-02T09:18:14.9309549Z build: undefined
2022-11-02T09:18:14.9309764Z }
2022-11-02T09:18:14.9310139Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9310661Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9310987Z major: 1,
2022-11-02T09:18:14.9311234Z minor: 2,
2022-11-02T09:18:14.9311472Z patch: 1,
2022-11-02T09:18:14.9311728Z preRelease: undefined,
2022-11-02T09:18:14.9311987Z build: undefined
2022-11-02T09:18:14.9312169Z }
2022-11-02T09:18:14.9312539Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9313038Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9313355Z major: 1,
2022-11-02T09:18:14.9313588Z minor: 2,
2022-11-02T09:18:14.9313823Z patch: 0,
2022-11-02T09:18:14.9314101Z preRelease: undefined,
2022-11-02T09:18:14.9314383Z build: undefined
2022-11-02T09:18:14.9314638Z }
2022-11-02T09:18:14.9314987Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9315402Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9315700Z major: 1,
2022-11-02T09:18:14.9315929Z minor: 1,
2022-11-02T09:18:14.9316133Z patch: 0,
2022-11-02T09:18:14.9316349Z preRelease: undefined,
2022-11-02T09:18:14.9316597Z build: undefined
2022-11-02T09:18:14.9316807Z }
2022-11-02T09:18:14.9317203Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9317659Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9317966Z major: 1,
2022-11-02T09:18:14.9318338Z minor: 0,
2022-11-02T09:18:14.9318568Z patch: 0,
2022-11-02T09:18:14.9318788Z preRelease: undefined,
2022-11-02T09:18:14.9319029Z build: undefined
2022-11-02T09:18:14.9319253Z }
2022-11-02T09:18:14.9319605Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9320076Z ❯ found release for com.attensi.core.cheats Version {
2022-11-02T09:18:14.9320368Z major: 0,
2022-11-02T09:18:14.9320573Z minor: 0,
2022-11-02T09:18:14.9320782Z patch: 1,
2022-11-02T09:18:14.9321018Z preRelease: undefined,
2022-11-02T09:18:14.9321283Z build: undefined
2022-11-02T09:18:14.9321498Z }
2022-11-02T09:18:14.9321892Z ❯ SHA not found in recent commits to branch main, skipping
2022-11-02T09:18:14.9322285Z ❯ found 2 possible releases. [
2022-11-02T09:18:14.9322550Z Version {
2022-11-02T09:18:14.9322766Z major: 1,
2022-11-02T09:18:14.9322983Z minor: 4,
2022-11-02T09:18:14.9323199Z patch: 1,
2022-11-02T09:18:14.9323472Z preRelease: undefined,
2022-11-02T09:18:14.9323717Z build: undefined
2022-11-02T09:18:14.9323931Z },
2022-11-02T09:18:14.9324148Z Version {
2022-11-02T09:18:14.9324396Z major: 1,
2022-11-02T09:18:14.9324641Z minor: 4,
2022-11-02T09:18:14.9324887Z patch: 1,
2022-11-02T09:18:14.9325134Z preRelease: undefined,
2022-11-02T09:18:14.9325365Z build: undefined
2022-11-02T09:18:14.9325576Z }
2022-11-02T09:18:14.9325766Z ]
2022-11-02T09:18:14.9326106Z ✔ Building pull requests
2022-11-02T09:18:14.9326448Z ✔ Building strategies by path
2022-11-02T09:18:14.9326724Z ❯ .: node
2022-11-02T09:18:14.9327048Z ✔ Collecting release commit SHAs
2022-11-02T09:18:14.9327398Z ❯ release search depth: 400
2022-11-02T09:18:14.9327754Z ❯ Fetching releases with cursor undefined
2022-11-02T09:18:15.3622848Z ❯ Found release for path ., v1.4.1
2022-11-02T09:18:15.3623435Z ❯ release for path: ., version: 1.4.1, sha: 7a3ced2cd4be0a09a2dd93c6b7009ed8a10b467b
2022-11-02T09:18:15.3623938Z ✔ Collecting commits since all latest releases
2022-11-02T09:18:15.3624331Z ❯ commit search depth: 500
2022-11-02T09:18:15.3626359Z ❯ Set(1) { '7a3ced2cd4be0a09a2dd93c6b7009ed8a10b467b' }
2022-11-02T09:18:15.3626833Z ❯ Fetching merge commits on branch main with cursor: undefined
2022-11-02T09:18:16.3246461Z ❯ Backfilling file list for commit: eac148064a82c323193b2a081cacae3a468dd2b3
2022-11-02T09:18:16.5806934Z ❯ Found 2 files
2022-11-02T09:18:16.5807306Z ❯ Backfilling file list for commit: 7ba24fd265d1b7a67551fab3b49d0db48e7e812c
2022-11-02T09:18:16.8528537Z ❯ Found 1 files
2022-11-02T09:18:16.8528870Z ❯ Backfilling file list for commit: 8ddbaac01c7aaca30065822678c7cd6115d446fc
2022-11-02T09:18:17.1186651Z ❯ Found 2 files
2022-11-02T09:18:17.3579762Z ❯ Backfilling file list for commit: 64f2c9addc8da97ecf63a2bb9348dad8887f758b
2022-11-02T09:18:17.3580062Z ❯ Found 3 files
2022-11-02T09:18:17.3580339Z ❯ Backfilling file list for commit: 72cb2dd01f72e8f01f73956ecd1718ab93437249
2022-11-02T09:18:17.6246001Z ❯ Found 3 files
2022-11-02T09:18:17.6246397Z ❯ Backfilling file list for commit: 29eab324d5b82ae20f0259c61104993cd4d2a66e
2022-11-02T09:18:17.8815569Z ❯ Found 3 files
2022-11-02T09:18:17.8816059Z ❯ Backfilling file list for commit: 9b6da60adbb9420dd4fd226250ac7e57a9049f24
2022-11-02T09:18:18.1655841Z ❯ Found 2 files
2022-11-02T09:18:18.1656177Z ❯ Backfilling file list for commit: 2cb5e9a9129e1d3b6619bdb4955369a3619a1970
2022-11-02T09:18:18.4227331Z ❯ Found 9 files
2022-11-02T09:18:18.4227688Z ❯ Backfilling file list for commit: 3c67462eed816f5be2ffb85cf26a0b92e73f9714
2022-11-02T09:18:18.6780692Z ❯ Found 4 files
2022-11-02T09:18:18.6781073Z ❯ Backfilling file list for commit: 90aeaf76d96c38d2ee1cf54127e59b0025d70dac
2022-11-02T09:18:19.0330427Z ❯ Found 3 files
2022-11-02T09:18:19.0330908Z ❯ Backfilling file list for commit: c7bbafeeeb13827ca0bbe15edd35970a7e7b046f
2022-11-02T09:18:19.2881651Z ❯ Found 1 files
2022-11-02T09:18:19.2881997Z ❯ Backfilling file list for commit: da67f7496ac91e97d4bc1879944861ca7873eb6d
2022-11-02T09:18:19.5727145Z ❯ Found 2 files
2022-11-02T09:18:19.5728148Z ❯ Backfilling file list for commit: 7eee4402840a3092156ea5995293f1cfb987795f
2022-11-02T09:18:19.8518088Z ❯ Found 5 files
2022-11-02T09:18:19.8518334Z ✔ Splitting 3 commits by path
2022-11-02T09:18:19.8521451Z ✔ Building candidate release pull request for path: .
2022-11-02T09:18:19.8521668Z ❯ type: node
2022-11-02T09:18:19.8521842Z ❯ targetBranch: main
2022-11-02T09:18:19.8522028Z ❯ commits: 3
2022-11-02T09:18:19.8529348Z ❯ commit could not be parsed: baa8cf5b3838e1489b967a24ca073846777c2280 Merge pull request #28 from Attensi/feat/playerprefscheat
2022-11-02T09:18:19.8531002Z ❯ commit could not be parsed: 4ea1dc62d25702aef4100405363039989ae943fb Merge pull request #30 from Attensi/feat/timescalecheat
2022-11-02T09:18:19.8532225Z ❯ commit could not be parsed: 5b282942ad98578d2ea18c95977e4254db568464 Merge pull request #29 from Attensi/feat/fpscheat
2022-11-02T09:18:19.8532498Z ✔ Considering: 0 commits
2022-11-02T09:18:19.8532706Z ✔ No commits for path: ., skipping
2022-11-02T09:18:19.8652263Z A job completed hook has been configured by the self-hosted runner administrator
2022-11-02T09:18:19.8680605Z ##[group]Run '/etc/arc/hooks/job-completed.sh'
2022-11-02T09:18:19.8693908Z shell: /usr/bin/bash --noprofile --norc -e -o pipefail {0}
2022-11-02T09:18:19.8694130Z ##[endgroup]
2022-11-02T09:18:19.8742663Z [0;37m2022-11-02 09:18:19.873 DEBUG --- Running ARC Job Completed Hooks[0m
2022-11-02T09:18:19.8754042Z [0;37m2022-11-02 09:18:19.875 DEBUG --- Running hook: /etc/arc/hooks/job-completed.d/update-status[0m
2022-11-02T09:18:19.8879730Z Cleaning up orphan processes
Additional information
The merge commit messages that don’t work are:
Merge pull request #29 from Attensi/feat/fpscheat
feat: Added FPS widget cheat
Merge pull request #30 from Attensi/feat/timescalecheat
feat: Added timescale cheat
Merge pull request #28 from Attensi/feat/playerprefscheat
feat: Added remove player prefs cheat
All the PR’s and branches that were merged were created before the previous release, and merged afterwards - perhaps this is relevant?
The errors are probably generated here. https://github.com/googleapis/release-please/blob/21ed59a1db32c6b9593931519bfa3b1eb456a4a7/src/commit.ts#L396
Issue Analytics
- State:
- Created a year ago
- Reactions:2
- Comments:8
Top Results From Across the Web
Unable to merge PRs from external contributors due to check ...
Describe the bug PR #5656 has two checks which are failing with Error: Unhandled error: HttpError: Resource not accessible by integration.
Read more >Using stacked pull requests in GitHub - LogRocket Blog
In this post, you can learn what stacked pull requests are, when and how to use them, and how to convert a monolithic...
Read more >release-please - npm
It does so by parsing your git history, looking for Conventional Commit messages, and creating release PRs. It does not handle publication to...
Read more >7 Github Actions Tricks I Wish I Knew Before I Started
Here are 7 tricks with github actions that changed my life (or at least my CI/CD pipeline). These tricks helped me create a...
Read more >Configuration Reference - Kodiak
Kodiak will report a configuration error if the selected merge method is disabled for a repository. If you're using the "Require signed commits" ......
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Why is this issue labeled ‘type:question’? release-please seems to be treating identically structured commit messages in different ways. It could be related to whether the PR was created before or after the previous release. This seems to be the case in my report above - other devs have reported the same issue to me too. We work around it by checking and manually updating the changelog, but that kind of defeats the purpose of release-please.
I think that this variance in behaviour is a bug.
I’ve tried again today to get squash merging to work with release-please although still with no luck. I got the still get the
commit could not be parsederror. please see the following log:I’m not sure why since this is the PR / commit that it’s trying to parse
I tried a previous squash merge PR and used the conventional commit message as the PR title and it did work although it doesn’t seem to work when the commit messages are in the description.