') + ')', 'gi'); if (regex.test(text)) { found = true; var frag = document.createDocumentFragment(); var parts = text.split(regex); parts.forEach(function(part, i) { if (i % 2 === 0) { frag.appendChild(document.createTextNode(part)); } else { var span = document.createElement('span'); span.className = 'userscript-highlight'; span.textContent = part; frag.appendChild(span); } }); node.parentNode.replaceChild(frag, node); } }); } else if (node.nodeType === 1 && node.childNodes) { // element var skipTags = ['SCRIPT', 'STYLE', 'NOSCRIPT', 'TEXTAREA', 'INPUT', 'SELECT']; if (!skipTags.includes(node.tagName)) { Array.from(node.childNodes).forEach(highlight); } } } highlight(document.body); // Re-highlight on dynamic content var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1 || node.nodeType === 3) highlight(node); }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Highlight Search Terms]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Strip utm_, fbclid, gclid, etc. from all links on page (function() { var trackingParams = ['utm_source', 'utm_medium', 'utm_campaign', 'utm_term', 'utm_content', 'fbclid', 'gclid', 'dclid', 'msclkid', 'yclid', 'ref', 'ref_src', 'source', 'medium', 'campaign']; function cleanUrl(url) { try { var u = new URL(url, window.location.origin); var changed = false; trackingParams.forEach(function(p) { if (u.searchParams.has(p)) { u.searchParams.delete(p); changed = true; } }); return changed ? u.toString() : url; } catch (e) { return url; } } function cleanLinks() { document.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } cleanLinks(); var observer = new MutationObserver(function(mutations) { mutations.forEach(function(m) { m.addedNodes.forEach(function(node) { if (node.nodeType === 1) { if (node.tagName === 'A') cleanLinks(); node.querySelectorAll('a[href]').forEach(function(a) { var clean = cleanUrl(a.href); if (clean !== a.href) a.href = clean; }); } }); }); }); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:Remove Tracking Parameters from Links]', __e); } })(); (function(){ try { var __m = "youtube.com"; var __re = new RegExp('^' + "youtube\\.com" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Auto-enable theater mode on YouTube (function() { function tryTheater() { var btn = document.querySelector('button[aria-label="Theater mode"], ytd-player #player button[title="Theater mode"]'); if (btn && !btn.classList.contains('activated')) { btn.click(); } } // Try immediately tryTheater(); // Try after navigation (SPA) var lastUrl = location.href; setInterval(function() { if (location.href !== lastUrl) { lastUrl = location.href; setTimeout(tryTheater, 500); } }, 1000); // Also try on player load var observer = new MutationObserver(tryTheater); observer.observe(document.body, { childList: true, subtree: true }); })(); } } catch(__e) { console.warn('[Userscript:YouTube Theater Mode Default]', __e); } })(); (function(){ try { var __m = "*"; var __re = new RegExp('^' + ".*" + ', 'i'); if (__m === '*' || __re.test(location.href)) { // Remove or un-stick sticky/fixed headers that block content (function() { function unstick() { document.querySelectorAll('header, nav, [role="banner"], .header, .navbar, .sticky, .fixed-top, [style*="position: fixed"], [style*="position:sticky"]').forEach(function(el) { if (el.style.position === 'fixed' || el.style.position === 'sticky' || getComputedStyle(el).position === 'fixed' || getComputedStyle(el).position === 'sticky') { el.style.position = 'static'; el.style.top = 'auto'; el.style.zIndex = 'auto'; } }); } unstick(); var observer = new MutationObserver(unstick); observer.observe(document.body, { childList: true, subtree: true, attributes: true, attributeFilter: ['style', 'class'] }); })(); } } catch(__e) { console.warn('[Userscript:Kill Sticky Headers]', __e); } })(); })(); chore: pin actions with commit sha by AndyScherzinger · Pull Request #111 · LizardByte/actions · GitHub
Skip to content

chore: pin actions with commit sha - #111

Merged
ReenigneArcher merged 1 commit into
LizardByte:masterfrom
AndyScherzinger:pinning-actions
Jan 29, 2026
Merged

chore: pin actions with commit sha#111
ReenigneArcher merged 1 commit into
LizardByte:masterfrom
AndyScherzinger:pinning-actions

Conversation

@AndyScherzinger

@AndyScherzingerAndyScherzinger commented Jan 29, 2026

Copy link
Copy Markdown
Contributor

Description

First of all thanks a lot for your work in providing these actions, we at Nextcloud happily use them to execute our CalDav/CardDav tests in combination with Apple' s test data but they now break when using Github's newly introduced action-pinning enforcement setting for a repo/org, see below.

For security reasons Github introduced the ability to enforce action pinning based on commit SHAs, see repo settings screenshot below
832-633-max

So if you currently use the LizardByte actions, or the setup-python one respectively you will be greeted with the following error:
sha-error

...because Github is now blocking the execution of the action.

This PR fixes any occurrence it can by using a pinning tool, see https://github.com/suzuki-shunsuke/pinact?tab=readme-ov-file#how-to-use for details if interested, command is pinact run executed on a repo root folder-level.

Some issues remain (unpinned actions) due to the nature of their version I suppose:

ERROR failed to handle a line: action can't be pinned
.github\workflows\_codeql.yml:27
uses: LizardByte/.github/.github/workflows/__call-codeql.yml@master
ERROR failed to handle a line: action can't be pinned
.github\workflows\_common-lint.yml:20
uses: LizardByte/.github/.github/workflows/__call-common-lint.yml@master
ERROR failed to handle a line: action can't be pinned
actions\release_homebrew\action.yml:161
uses: Homebrew/actions/setup-homebrew@main

Yet I only expect the last item to be an issue that keeps blocking the use of the action in pinning-enforced projects on Github.

Screenshot

Issues Fixed or Closed

Roadmap Issues

Type of Change

  • feat: New feature (non-breaking change which adds functionality)
  • fix: Bug fix (non-breaking change which fixes an issue)
  • docs: Documentation only changes
  • style: Changes that do not affect the meaning of the code (white-space, formatting, missing semicolons, etc.)
  • refactor: Code change that neither fixes a bug nor adds a feature
  • perf: Code change that improves performance
  • test: Adding missing tests or correcting existing tests
  • build: Changes that affect the build system or external dependencies
  • ci: Changes to CI configuration files and scripts
  • chore: Other changes that don't modify src or test files
  • revert: Reverts a previous commit
  • BREAKING CHANGE: Introduces a breaking change (can be combined with any type above)

Checklist

  • Code follows the style guidelines of this project
  • Code has been self-reviewed
  • Code has been commented, particularly in hard-to-understand areas
  • Code docstring/documentation-blocks for new or existing methods/components have been added or updated
  • Unit tests have been added or updated for any new or modified functionality

AI Usage

  • None: No AI tools were used in creating this PR
  • Light: AI provided minor assistance (formatting, simple suggestions)
  • Moderate: AI helped with code generation or debugging specific parts
  • Heavy: AI generated most or all of the code changes

@CLAassistant

CLAassistant commented Jan 29, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@ReenigneArcherReenigneArcher changed the title Pin actions with commit shachore: pin actions with commit shaJan 29, 2026
@ReenigneArcher

Copy link
Copy Markdown
Member

@AndyScherzinger thank you for the PR. If possible, could you sign the CLA? #111 (comment)

I have been slowly converting actions to use pinned SHAs throughout our organization; however I have not been pinning official GitHub actions because I didn't want to be inundated with dependabot updates... but actually looking at the tags on these actions they are not providing patches as often as I originally thought so I think it's okay to pin them as well.

Thank you for sharing the pinact tool, as I have been doing this manually. Maybe I will create an action around pinact.

@AndyScherzinger

AndyScherzinger commented Jan 29, 2026

Copy link
Copy Markdown
ContributorAuthor

Hi @ReenigneArcher yes of course, just signed it now 👍 Happy you found the info about the pinact tool helpful. Another tool you might find helpful as well would be zizmor if not already know it. We use to scan our actions for security aspects and it can do zizmor --fix=safe .\.github\workflows\ to automate some fixing.

@codecov

codecovBot commented Jan 29, 2026

Copy link
Copy Markdown

❌ 15 Tests Failed:

Tests completedFailedPassedSkipped
245152301
View the top 3 failed test(s) by shortest run time
tests/release_setup/test_release_setup.py::test_main_function[push_alt_timestamp-False-False]
Stack Traces | 0.522s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 520, in main
push_event_details = get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_get_push_event_details[push-True]
Stack Traces | 0.523s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 149, in test_get_push_event_details
result = main.get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_get_push_event_details[push_alt_timestamp-False]
Stack Traces | 0.523s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 149, in test_get_push_event_details
result = main.get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_get_push_event_details[push_alt_timestamp-True]
Stack Traces | 0.567s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 149, in test_get_push_event_details
result = main.get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_main_function[push_alt_timestamp-True-False]
Stack Traces | 0.567s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 520, in main
push_event_details = get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_main_function[push-False-False]
Stack Traces | 0.587s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 520, in main
push_event_details = get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_main_function[push-True-False]
Stack Traces | 0.588s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 520, in main
push_event_details = get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_get_push_event_details[push-False]
Stack Traces | 0.677s run time
Traceback (most recent call last):
File ".../actions/release_setup/main.py", line 182, in get_repo_squash_and_merge_required
allow_squash_merge = repo_info['allow_squash_merge']
~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^
KeyError: 'allow_squash_merge'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 149, in test_get_push_event_details
result = main.get_push_event_details()
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 235, in get_push_event_details
if not get_repo_squash_and_merge_required():
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 190, in get_repo_squash_and_merge_required
raise KeyError(msg)
KeyError: '::error:: Could not find the required keys in the GitHub API response. Ensure the token has the `"Metadata" repository permissions (read)` scope. If using the built-in GITHUB_TOKEN, ensure the `permissions/contents` is set to `write`.'
tests/release_setup/test_release_setup.py::test_main_function[push-True-True]
Stack Traces | 0.882s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 527, in main
release_body = generate_release_body(
^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'
tests/release_setup/test_release_setup.py::test_main_function[pr-True-True]
Stack Traces | 0.918s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 527, in main
release_body = generate_release_body(
^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'
tests/release_setup/test_release_setup.py::test_main_function[push_alt_timestamp-False-True]
Stack Traces | 0.927s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 527, in main
release_body = generate_release_body(
^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'
tests/release_setup/test_release_setup.py::test_generate_release_body
Stack Traces | 0.955s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 203, in test_generate_release_body
assert main.generate_release_body(tag_name='test', target_commitish=os.environ['GITHUB_SHA'])
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'
tests/release_setup/test_release_setup.py::test_main_function[push-False-True]
Stack Traces | 0.956s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 527, in main
release_body = generate_release_body(
^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'
tests/release_setup/test_release_setup.py::test_main_function[pr-False-True]
Stack Traces | 1.07s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 527, in main
release_body = generate_release_body(
^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'
tests/release_setup/test_release_setup.py::test_main_function[push_alt_timestamp-True-True]
Stack Traces | 1.11s run time
Traceback (most recent call last):
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 353, in from_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 245, in <lambda>
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/logging.py", line 850, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 53, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/pluggy/_result.py", line 103, in get_result
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 38, in run_old_style_hookwrapper
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/capture.py", line 900, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 139, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12.../site-packages/_pytest/skipping.py", line 268, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12........./site-packages/_pytest/runner.py", line 179, in pytest_runtest_call
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 1720, in runtest
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_hooks.py", line 512, in __call__
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/pluggy/_manager.py", line 120, in _hookexec
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 167, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12............................../site-packages/pluggy/_callers.py", line 121, in _multicall
File "...................................................................../Library/Frameworks/Python.framework/Versions/3.12/lib/python3.12....../site-packages/_pytest/python.py", line 166, in pytest_pyfunc_call
File ".../tests/release_setup/test_release_setup.py", line 218, in test_main_function
job_outputs = main.main()
^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 527, in main
release_body = generate_release_body(
^^^^^^^^^^^^^^^^^^^^^^
File ".../actions/release_setup/main.py", line 505, in generate_release_body
return process_release_body(release_body=release_notes['body'])
~~~~~~~~~~~~~^^^^^^^^
KeyError: 'body'

To view more test analytics, go to the Test Analytics Dashboard
📋 Got 3 mins? Take this short survey to help us improve Test Analytics.

@ReenigneArcher

Copy link
Copy Markdown
Member

Some of these tests are going to fail because forks don't have the correct permisisons, but could you fix the lint issues? https://github.com/LizardByte/actions/actions/runs/21479952136/job/61890314933?pr=111

Basically need 2 spaces before the version tag comment.

Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
@sonarqubecloud

Copy link
Copy Markdown

@AndyScherzinger

Copy link
Copy Markdown
ContributorAuthor

Some of these tests are going to fail because forks don't have the correct permisisons, but could you fix the lint issues?
Basically need 2 spaces before the version tag comment.

Done ✅
Let's see if this makes the linter happy 🤞

@AndyScherzinger

AndyScherzinger commented Jan 29, 2026

Copy link
Copy Markdown
ContributorAuthor

While not wanting to misuse the PR as a forum, but since you added pinact and zizmor to your roadmap and I've just seen the check for a semantic PR title (sorry for missing that) you might also be interest in a check like https://github.com/nextcloud/.github/blob/master/workflow-templates/block-unconventional-commits.yml for ensuring commit messages are following the same logic by having to be following conventional commit standards in case you rcurrent action is limited to PR titles.

@ReenigneArcher

Copy link
Copy Markdown
Member

While not wanting to misuse the PR as a forum

No worries at all. This is a good discussion!

ensuring commit messages are following the same logic by having to be following conventional commit standards in case you rcurrent action is limited to PR titles

I squash and merge as many PRs just get really messy with commits. Then the new commit gets the PR title as the commit message. I use https://github.com/marketplace/semantic-prs to validate it, which is a free service for public repos and doesn't use any runner.

@ReenigneArcher
ReenigneArcher merged commit 09a6e10 into LizardByte:masterJan 29, 2026
69 of 78 checks passed
@AndyScherzinger
AndyScherzinger deleted the pinning-actions branch January 29, 2026 19:50
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants

@AndyScherzinger@CLAassistant@ReenigneArcher