woodpecker-ci / plugin-ready-release-go

Automatically creates release pull-request which when merged will trigger a release
MIT License
3 stars 2 forks source link

Plugin did not create release when merging release PR #205

Open Andre601 opened 22 hours ago

Andre601 commented 22 hours ago

I merged the Release PR but the plugin did not proceed to create the actual release within the repository.

Not sure if I'm missing something or if this is an oversight on your end.

Here's the full logs of the action:

# Loading config from /woodpecker/src/codeberg.org/Andre601/AdvancedServerList/release-config.ts ...
# Loaded config from /woodpecker/src/codeberg.org/Andre601/AdvancedServerList/release-config.ts
# CI detected šŸ¤–
# Event type: push
# Commit message was: Merge pull request 'šŸŽ‰ Release 5.0.5' (#352) from next-release/master into master

Reviewed-on: https://codeberg.org/Andre601/AdvancedServerList/pulls/352

# Should next version be a release candidate: no
# Lastest tag is: v5.0.4
# Found 21 untagged commits
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
# No pull-request found for commit, skipping. c2c653e613181026a4d4548992727b32c46a0f07: "Merge branch 'origin/master' into 'next-release/master'"
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/c2c653e613181026a4d4548992727b32c46a0f07/pull'
}
# Skipping commit / PR by label: 8fa7c1593d79ed4b2841ff084923ade4ad74d1f0: "Merge pull request 'Update dependency mkdocs-material to v9.5.40' (#355) from renovate/mkdocs-material-9.x into master"
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
# No pull-request found for commit, skipping. b2dc74951f5c8f06b76ba7fbcca5f9c5fe7083f3: "Update dependency mkdocs-material to v9.5.40"
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/b2dc74951f5c8f06b76ba7fbcca5f9c5fe7083f3/pull'
}
gitea error Response {
# No pull-request found for commit, skipping. e38f6648ee0d141eeac4fb1dea6287720df65cae: "Merge branch 'origin/master' into 'next-release/master'"
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/e38f6648ee0d141eeac4fb1dea6287720df65cae/pull'
}
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/1f32c22ebf174273ceb038cc698478f8a77b51c4/pull'
}
# No pull-request found for commit, skipping. 1f32c22ebf174273ceb038cc698478f8a77b51c4: "Update dependency ch.qos.logback:logback-classic to v1.5.9"
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
# No pull-request found for commit, skipping. 658ec8dd744d8c2a57716cd95cb63d1214169bb2: "Merge branch 'origin/master' into 'next-release/master'"
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/658ec8dd744d8c2a57716cd95cb63d1214169bb2/pull'
}
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
# No pull-request found for commit, skipping. 85b7210e7cc4021d3c916f0823ad71635c0e1993: "Push empty commit to trigger release"
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/85b7210e7cc4021d3c916f0823ad71635c0e1993/pull'
}
gitea error Response {
# No pull-request found for commit, skipping. bc3aaa4d28276bd62e9b5a04f9d9ed01b6d35ddb: "Improve PAPIProxyBridge support"
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/bc3aaa4d28276bd62e9b5a04f9d9ed01b6d35ddb/pull'
}
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
# No pull-request found for commit, skipping. 7ee65c6c21172440b70071e8f4137da8e4c373b2: "Add useVersionPrefixV to release-config.ts"
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/7ee65c6c21172440b70071e8f4137da8e4c373b2/pull'
}
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/b4b754e483befe224927eec43e8643f179a5d198/pull'
}
# No pull-request found for commit, skipping. b4b754e483befe224927eec43e8643f179a5d198: "Update MODRINTH.md"
gitea error Response {
# No pull-request found for commit, skipping. b7c0c8a312b0bd47643927259a3744de03a180b2: "Update Mastodon Link"
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/b7c0c8a312b0bd47643927259a3744de03a180b2/pull'
}
gitea error Response {
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/cf6006f9d66ac56641f69b10dfe9f3a1ea3d2681/pull'
}
# No pull-request found for commit, skipping. cf6006f9d66ac56641f69b10dfe9f3a1ea3d2681: "Merge branch 'master' into feature/automatic-release-creation"
gitea error Response {
# No pull-request found for commit, skipping. ea0f0f09f407233ebbba2e7a039d809ef3fa0e32: "Add automatic release action"
  status: 404,
  statusText: 'Not Found',
  headers: Headers {
    'cache-control': 'max-age=0, private, must-revalidate, no-transform',
    'content-type': 'application/json;charset=utf-8',
    vary: 'Origin',
    date: 'Thu, 10 Oct 2024 14:50:53 GMT',
    'content-length': '173',
    'strict-transport-security': 'max-age=63072000; includeSubDomains; preload',
    'permissions-policy': 'interest-cohort=()',
    'x-frame-options': 'sameorigin',
    'x-content-type-options': 'nosniff'
  },
  body: ReadableStream { locked: true, state: 'closed', supportsBYOB: true },
  bodyUsed: true,
  ok: false,
  redirected: false,
  type: 'basic',
  url: 'https://codeberg.org/api/v1/repos/Andre601/AdvancedServerList/commits/ea0f0f09f407233ebbba2e7a039d809ef3fa0e32/pull'
}
# Next version will be: 5.0.5
# Push to release branch detected.
# Preparing release pull-request for version: 5.0.5 ...
Branch "next-release/master" does not exist yet, creating it.
# Updating CHANGELOG.md
# Creating release pull-request
# Successfully prepared release pull-request:  {
  pullRequestLink: 'https://codeberg.org/Andre601/AdvancedServerList/pulls/352'
}
# Pull-request created
anbraten commented 19 hours ago

Your commit message is Merge pull request 'šŸŽ‰ Release 5.0.5' (#352) from next-release/master into master and therefore not detected as it doesn't start with šŸŽ‰ Release ...

Andre601 commented 19 hours ago

Not gonna lie, this is a rather bad detection method here, because pretty much every default merge message is in the "Merge pull request '...'" pattern.

Tho, I stoped using this plugin already as it isn't as useful for me as I initially hoped it would be.