Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ci: prevent GitHub backlink creation on extension updates #479

Merged

Conversation

rjaegers
Copy link
Member

@rjaegers rjaegers commented Jul 1, 2024

Pull Request

Description of changes

Prevent GitHub from creating backlinks to issues mentioned in changlogs of VS Code Extensions that are updated automatically. Doing so prevents polluting extension PRs with amp-devcontainer links.

Following the advice in https://github.com/orgs/community/discussions/23123#discussioncomment-3239240.

Closes #477

Checklist

  • I have followed the contribution guidelines for this repository
  • I have added tests for new behavior, and have not broken any existing tests
  • I have added or updated relevant documentation
  • I have verified that all added components are accounted for in the SBOM

@rjaegers rjaegers requested a review from a team as a code owner July 1, 2024 07:49
Copy link

sonarqubecloud bot commented Jul 1, 2024

@rjaegers rjaegers changed the title ci: prevent GitHub backlink creation on extension udpates ci: prevent GitHub backlink creation on extension updates Jul 1, 2024
@rjaegers rjaegers self-assigned this Jul 1, 2024
Copy link
Contributor

github-actions bot commented Jul 1, 2024

🦙 MegaLinter status: ✅ SUCCESS

Descriptor Linter Files Fixed Errors Elapsed time
✅ ACTION actionlint 15 0 0.06s
✅ DOCKERFILE hadolint 2 0 0.56s
✅ JSON prettier 11 0 0 0.58s
✅ JSON v8r 10 0 5.21s
✅ MARKDOWN markdownlint 8 0 0 0.95s
✅ MARKDOWN markdown-table-formatter 8 0 0 0.23s
✅ REPOSITORY checkov yes no 15.26s
✅ REPOSITORY gitleaks yes no 0.4s
✅ REPOSITORY git_diff yes no 0.01s
✅ REPOSITORY grype yes no 12.4s
✅ REPOSITORY secretlint yes no 1.14s
✅ REPOSITORY trivy yes no 7.21s
✅ REPOSITORY trivy-sbom yes no 2.32s
✅ REPOSITORY trufflehog yes no 3.62s
✅ SPELL lychee 49 0 2.5s
✅ YAML prettier 20 0 0 0.91s
✅ YAML v8r 20 0 18.9s
✅ YAML yamllint 20 0 0.46s

See detailed report in MegaLinter reports

MegaLinter is graciously provided by OX Security

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-rust:latest to ghcr.io/philips-software/amp-devcontainer-rust@sha256:d2f041df608a6a30eb848bdfcb438f23784db8bd4cf275985d6bb9c6adca3111

OS/Platform Previous Size Current Size Delta
linux/amd64 432.86M 432.86M 1.55K (+0.00%)
linux/arm64 572.09M 572.09M 664.00 (+0.00%)

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Compressed layer size comparison

Comparing ghcr.io/philips-software/amp-devcontainer-cpp:latest to ghcr.io/philips-software/amp-devcontainer-cpp@sha256:451a08b08cef882f0a8fead0f8cf225919dbd46ea57c3902a0b3ce6a80e48a27

OS/Platform Previous Size Current Size Delta
linux/amd64 640.66M 640.66M 2.30K (+0.00%)
linux/arm64 633.02M 633.02M 1.81K (+0.00%)

Copy link
Contributor

github-actions bot commented Jul 1, 2024

Test Results

 2 files  ±0   2 suites  ±0   51s ⏱️ -1s
26 tests ±0  26 ✅ ±0  0 💤 ±0  0 ❌ ±0 
28 runs  ±0  28 ✅ ±0  0 💤 ±0  0 ❌ ±0 

Results for commit 0755827. ± Comparison against base commit 1ee385d.

@rjaegers rjaegers enabled auto-merge July 1, 2024 08:04
@rjaegers rjaegers added this pull request to the merge queue Jul 1, 2024
Merged via the queue into main with commit d9ee5e1 Jul 1, 2024
22 checks passed
@rjaegers rjaegers deleted the feature/prevent-github-backlinks-in-extension-updates branch July 1, 2024 08:57
Copy link
Contributor

github-actions bot commented Jul 1, 2024

Pull Request Report (#479)

Static measures

Description Value
Number of added lines 7
Number of deleted lines 1
Number of changed files 1
Number of commits 1
Number of reviews 1
Number of comments (w/o review comments) 5
Number of reviews that contains a comment to resolve 0
Number of reviews that requested a change from the author 0
Number of reviews that approved the Pull Request 1
Get the total number of participants of a Pull Request 4

Time related measures

Description Value
PR lead time (from creation to close of PR) 1.1 Hours
Time that was spend on the branch before the PR was created 3.4 Min
Time that was spend on the branch before the PR was merged 1.2 Hours
Time to merge after last review 3.9 Min

Status check related measures

Description Value
Total runtime for last status check run (Workflow for PR) 11.8 Min
Total time spend in last status check run on PR 14.6 Min

Copy link
Contributor

🎉 Hooray! The changes in this pull request went live with the release of v5.1.3 🎉

Sign up for free to 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.

Is it possible for you to not include the changelog in your rust-analyzer updates here (or delinkify it)?
2 participants