You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
The GitHub Pages deployment step failed during git push to the gh-pages branch: - Remote rejected the push with error: cannot lock ref 'refs/heads/gh-pages': is at bec758ed44bbd59cf17ce9155f4ab0dcd08c127c but expected ebcb3931f8cc4ae230d31fde480e43e10435f6b5 (lines 828-829). - This indicates the remote gh-pages branch advanced between fetch and push (non-fast-forward/update race), so the forced update expected a different commit hash. - Earlier, the build also logged an error while parsing frontend/incomplete-rules-repo/rules/S7472/python/metadata.json (SyntaxError at position 493) and "No languages found for rule S7472" (lines 145-146), but the pipeline proceeded; the final failure occurred at the deploy push step.
Relevant error logs:
1: Runner name: 'github-ubuntu-latest-s_4bd90c568c30'2: Runner group name: 'github'
...
130: ##[endgroup]131: npm warn deprecated [email protected]: This module is not supported, and leaks memory. Do not use it. Check out lru-cache if you want a good and tested way to coalesce async requests by a key value, which is much more comprehensive and powerful.132: npm warn deprecated [email protected]: Glob versions prior to v9 are no longer supported133: npm warn deprecated @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.134: npm warn deprecated @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.135: npm warn deprecated @material-ui/[email protected]: Material UI v4 doesn't receive active development since September 2021. See the guide https://mui.com/material-ui/migration/migration-v4/ to upgrade to v5.136: added 412 packages, and audited 413 packages in 8s137: 63 packages are looking for funding138: run `npm fund` for details139: found 0 vulnerabilities140: > [email protected] predeploy141: > npm run prepare-rules && npm run build142: > [email protected] prepare-rules143: > ts-node -P tsconfig-rules.json ./src/deployment/index.ts144: When parsing the JSON file /home/runner/work/rspec/rspec/frontend/incomplete-rules-repo/rules/S7472/python/metadata.json145: {"level":"error","message":"Failed to process PR (https://github.com/SonarSource/rspec/pull/4914), it will be skipped (SyntaxError: Expected double-quoted property name in JSON at position 493)","source":"pullRequestIndexing.ts"}146: {"level":"error","message":"No languages found for rule S7472, at least 1 is required","source":"searchIndex.ts"}147: > [email protected] build
...
260: * [new branch] feat/smarini/BUILD-6088-add-security-md -> origin/feat/smarini/BUILD-6088-add-security-md261: * [new branch] feat/sonartech/BUILD-8875-changeRunnersNames -> origin/feat/sonartech/BUILD-8875-changeRunnersNames262: * [new branch] feature/education -> origin/feature/education263: * [new branch] feature/education-backup -> origin/feature/education-backup264: * [new branch] feature/education-new-checks -> origin/feature/education-new-checks265: * [new branch] feature/education-new-checks-rebased -> origin/feature/education-new-checks-rebased266: * [new branch] feature/education-updated -> origin/feature/education-updated267: * [new branch] fix-cloudformation-s6295 -> origin/fix-cloudformation-s6295268: * [new branch] fix-uncatched-promise -> origin/fix-uncatched-promise269: * [new branch] fix/re-bot/ownership -> origin/fix/re-bot/ownership270: * [new branch] fix/typo/S5131 -> origin/fix/typo/S5131271: * [new branch] ft/cleaning -> origin/ft/cleaning272: * [new branch] ft/common3 -> origin/ft/common3273: * [new branch] ft/cppcoreguidelines -> origin/ft/cppcoreguidelines274: * [new branch] ft/dirty-security-apply -> origin/ft/dirty-security-apply275: * [new branch] ft/fix-error-login -> origin/ft/fix-error-login276: * [new branch] ft/moreupdate -> origin/ft/moreupdate
...
814: M rules/S8039/apex-metadata.json815: M rules/S8039/default-description.html816: M rules/S8039/default-metadata.json817: M rules/S8040/apex-description.html818: M rules/S8040/default-description.html819: M rules/rule-index-aggregates.json820: M rules/rule-index-store.json821: M rules/rule-index.json822: [command]/usr/bin/git add --all .823: [command]/usr/bin/git checkout -b github-pages-deploy-action/9ao46vxme824: Switched to a new branch 'github-pages-deploy-action/9ao46vxme'825: [command]/usr/bin/git commit -m Deploying to gh-pages from @ 862283ac2e922327afac076c633f70ef540abfc5 🚀 --quiet --no-verify826: [command]/usr/bin/git push --force ***github.com/SonarSource/rspec.git github-pages-deploy-action/9ao46vxme:gh-pages827: To https://github.com/SonarSource/rspec.git828: ! [remote rejected] github-pages-deploy-action/9ao46vxme -> gh-pages (cannot lock ref 'refs/heads/gh-pages': is at bec758ed44bbd59cf17ce9155f4ab0dcd08c127c but expected ebcb3931f8cc4ae230d31fde480e43e10435f6b5)829: error: failed to push some refs to 'https://github.com/SonarSource/rspec.git'830: Running post deployment cleanup jobs… 🗑️831: [command]/usr/bin/git worktree remove github-pages-deploy-action-temp-deployment-folder --force832: ##[error]The deploy step encountered an error: The process '/usr/bin/git' failed with exit code 1 ❌833: Deployment failed! ❌834: Post job cleanup.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You can preview this rule here (updated a few minutes after each push).
Review
A dedicated reviewer checked the rule description successfully for: