René's URL Explorer Experiment


Title: Bump artifact dependencies if `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` enabled by angelapwen · Pull Request #2482 · github/codeql-action · GitHub

Open Graph Title: Bump artifact dependencies if `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` enabled by angelapwen · Pull Request #2482 · github/codeql-action

X Title: Bump artifact dependencies if `CODEQL_ACTION_ARTIFACT_V4_UPGRADE` enabled by angelapwen · Pull Request #2482 · github/codeql-action

Description: We need to bump actions/upload-artifact and actions/download-artifact to v4 in our PR checks, as v3 will be deprecated in November: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of-the-artifact-actions/ To do so, we also need to bump @actions/artifact to v2, but it is not yet supported on GHES: https://www.npmjs.com/package/@actions/artifact#v2---whats-new This change would immediately cause customers using v3 of actions/download-artifact in their workflows to see failures, so we are gating it behind an opt-in feature flag for another month. Customers will be able to set the CODEQL_ACTION_ARTIFACT_V4_UPGRADE environment variable to true in their workflows as they upgrade actions/download-artifact to v4. At the beginning of November, we will set the default value of the feature flag to true and the upgraded version of the artifact dependencies will be the default. This PR: imports @actions/artifact@v1 as artifact-legacy and imports @actions/artifact@v2 as artifact adds a feature flag, defaulting to false, that can be enabled by setting the CODEQL_ACTION_ARTIFACT_V4_UPGRADE environment variable to true uses the legacy version of the artifact client on GHES or when the CODEQL_ACTION_ARTIFACT_V4_UPGRADE flag is false; and otherwise the upgraded version adds a PR check that sets CODEQL_ACTION_ARTIFACT_V4_UPGRADE to true, bumping upload-artifact and download-artifact to v4. Merge / deployment checklist Confirm this change is backwards compatible with existing workflows. Confirm the readme has been updated if necessary. Confirm the changelog has been updated if necessary.

Open Graph Description: We need to bump actions/upload-artifact and actions/download-artifact to v4 in our PR checks, as v3 will be deprecated in November: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of...

X Description: We need to bump actions/upload-artifact and actions/download-artifact to v4 in our PR checks, as v3 will be deprecated in November: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of...

Opengraph URL: https://github.com/github/codeql-action/pull/2482

X: @github

direct link

Domain: github.com

route-pattern/:user_id/:repository/pull/:id/files/:range(.:format)
route-controllerpull_requests
route-actionfiles
fetch-noncev2:126b51bc-81ce-27c6-94fd-7051ab6eedef
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idDBA6:229D5F:367906C:486C8CB:6A65576A
html-safe-nonce3a02e8dd9b745a2288e44e1626c281e13689607a86d2f9d2ef34a479dd543cd4
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQkE2OjIyOUQ1RjozNjc5MDZDOjQ4NkM4Q0I6NkE2NTU3NkEiLCJ2aXNpdG9yX2lkIjoiNzAxMDEwOTkxNDIzNDU3NDY5OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac436aa4c979ede2208bad4cf4a68a79071379008585316a57c181e4868a708eba
hovercard-subject-tagpull_request:2071453354
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///pull_requests/show/files
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
twitter:imagehttps://avatars.githubusercontent.com/u/39155301?s=400&v=4
twitter:cardsummary_large_image
og:imagehttps://avatars.githubusercontent.com/u/39155301?s=400&v=4
og:image:altWe need to bump actions/upload-artifact and actions/download-artifact to v4 in our PR checks, as v3 will be deprecated in November: https://github.blog/changelog/2024-04-16-deprecation-notice-v3-of...
og:site_nameGitHub
og:typeobject
hostnamegithub.com
expected-hostnamegithub.com
None52c76df668885aaff23b50bdca1fa1ea44ac9c1553e888ebc70ff1e4daa4625b
turbo-cache-controlno-preview
diff-viewunified
go-importgithub.com/github/codeql-action git https://github.com/github/codeql-action.git
octolytics-dimension-user_id9919
octolytics-dimension-user_logingithub
octolytics-dimension-repository_id259445878
octolytics-dimension-repository_nwogithub/codeql-action
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id259445878
octolytics-dimension-repository_network_root_nwogithub/codeql-action
turbo-body-classeslogged-out env-production page-responsive full-width
disable-turbotrue
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release309153364422b3c499922d1a2a6404910a58ed8e
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2482%2Ffiles%2F29620a04997e62b4c9fee0b18f507aa3e1288345
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
Code QualityEnforce quality at mergehttps://github.com/features/code-quality
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/open-source/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/open-source/accelerator
GitHub Starshttps://stars.github.com
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/enterprise/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fpull%2F2482%2Ffiles%2F29620a04997e62b4c9fee0b18f507aa3e1288345
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fpull_requests%2Fshow%2Ffiles&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Reloadhttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Reloadhttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 476 https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Star 1.6k https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Code https://github.com/github/codeql-action
Issues 157 https://github.com/github/codeql-action/issues
Pull requests 24 https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality 2 https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Code https://github.com/github/codeql-action
Issues https://github.com/github/codeql-action/issues
Pull requests https://github.com/github/codeql-action/pulls
Actions https://github.com/github/codeql-action/actions
Models https://github.com/github/codeql-action/models
Security and quality https://github.com/github/codeql-action/security
Insights https://github.com/github/codeql-action/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgithub%2Fcodeql-action%2Fissues%2Fnew%2Fchoose
angelapwenhttps://github.com/angelapwen
mainhttps://github.com/github/codeql-action/tree/main
angelapwen/bump-artifactshttps://github.com/github/codeql-action/tree/angelapwen/bump-artifacts
Conversation 48 https://github.com/github/codeql-action/pull/2482
Findings https://github.com/github/codeql-action/pull/2482/findings
Commits 18 https://github.com/github/codeql-action/pull/2482/commits
Checks 0 https://github.com/github/codeql-action/pull/2482/checks
Files changed https://github.com/github/codeql-action/pull/2482/files
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Bump artifact dependencies if CODEQL_ACTION_ARTIFACT_V4_UPGRADE enabled https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#top
Show all changes 18 commits https://github.com/github/codeql-action/pull/2482/files
76b799d Install `actions/artifact@v1` as `artifact-legacy` and `v2` as `artif… angelapwen Sep 25, 2024 https://github.com/github/codeql-action/pull/2482/commits/76b799de1dce0221423fdc03e051c4ce37a0a666
6d887c1 Update original import statements to use `artifact-legacy` angelapwen Sep 25, 2024 https://github.com/github/codeql-action/pull/2482/commits/6d887c18f0985aba408f85c7b95bdf81baa4c355
4de3002 Use new artifact dependency if not on GHES & feature flag enabled angelapwen Sep 25, 2024 https://github.com/github/codeql-action/pull/2482/commits/4de30025338589e31fa01e31d5431e176cb75bb2
35684ba Add PR check with feature flag enabled to test upgrade angelapwen Sep 25, 2024 https://github.com/github/codeql-action/pull/2482/commits/35684bafaa913363cafc8363e57d8e401eddefaf
4a5884a Add changenote angelapwen Sep 25, 2024 https://github.com/github/codeql-action/pull/2482/commits/4a5884aaa5367b7c1567d29986df6050f26e1d89
8e4d3c2 Refactor: remove argument array indirection and pass directly instead angelapwen Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/8e4d3c2dba198107933eec79b7d658c06215925c
bca51cd Rename feature flag to `CODEQL_ACTION_ARTIFACT_V2_UPGRADE` angelapwen Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/bca51cd79e6579a11cb9dfa7f4cb728d258e4cc9
ce99e34 Add log messages at INFO level about which artifact version used angelapwen Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/ce99e3489b0a294433b250faec245b367d8e4ec6
0c5c594 Refactor: reuse `getArtifactUploaderClient` in `start-proxy-action` angelapwen Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/0c5c594f4525cddbc85effa017817d3b43556707
fbe39bd Update changenote angelapwen Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/fbe39bdbdf57b515ea29be5434deb8a197c5d5ef
fd00289 Update checked-in dependencies github-actions[bot] Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/fd00289c857d59a4d20a7ddf27cb7120352e1f09
f52494d Update CHANGELOG.md angelapwen Sep 26, 2024 https://github.com/github/codeql-action/pull/2482/commits/f52494d6caa972cc077d44e6be67914bde1710c1
7c14037 Refer to `download-artifact@v4` everywhere to reduce confusion angelapwen Sep 27, 2024 https://github.com/github/codeql-action/pull/2482/commits/7c140373d56e14402efb6f839de815d410cd4966
3788527 Merge remote-tracking branch 'origin' into angelapwen/upgrade-artifac… angelapwen Sep 27, 2024 https://github.com/github/codeql-action/pull/2482/commits/3788527ad77238a2c172476e3a1147fec2768082
6b58e15 Update feature flag name angelapwen Sep 30, 2024 https://github.com/github/codeql-action/pull/2482/commits/6b58e1550168d3c4ce2a0c2e6da9773b402ec08b
d2642b6 Remove logging that mentions feature flags for clarity angelapwen Sep 30, 2024 https://github.com/github/codeql-action/pull/2482/commits/d2642b6711e9300bdd496c8894a8656150e8548d
f29ffe2 Update CHANGELOG.md angelapwen Sep 30, 2024 https://github.com/github/codeql-action/pull/2482/commits/f29ffe2f9bc7d1e4b8dae3bef8bc52663e145574
29620a0 Merge branch 'main' into angelapwen/bump-artifacts angelapwen Oct 1, 2024 https://github.com/github/codeql-action/pull/2482/commits/29620a04997e62b4c9fee0b18f507aa3e1288345
Clear filters https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
.github/workflows/debug-artifacts-upgrade.ymlhttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-2255f481814f98c9f693116b6450549d1e7a178d9547f25a49e97c1be437a14c
View file https://github.com/github/codeql-action/blob/29620a04997e62b4c9fee0b18f507aa3e1288345/.github/workflows/debug-artifacts-upgrade.yml
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/2482/files/{{ revealButtonHref }}
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
aeisenberghttps://github.com/aeisenberg
Sep 26, 2024https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#r1777843771
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
angelapwenhttps://github.com/angelapwen
Sep 26, 2024https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#r1777852208
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
codeql-action/pr-checks/sync.pyhttps://github.com/github/codeql-action/blob/46e0c78da9edf293aeab3d4d62cf1a7b7534c6a0/pr-checks/sync.py#L9-L28
46e0c78https://github.com/github/codeql-action/commit/46e0c78da9edf293aeab3d4d62cf1a7b7534c6a0
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
CHANGELOG.mdhttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
View file https://github.com/github/codeql-action/blob/29620a04997e62b4c9fee0b18f507aa3e1288345/CHANGELOG.md
Open in desktop https://desktop.github.com
https://github.co/hiddenchars
https://github.com/github/codeql-action/pull/2482/files/{{ revealButtonHref }}
https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-06572a96a58dc510037d5efa622f9bec8519bc1beab13c9f251e97e657a9d4ed
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze-action-post.jshttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-911c5662a35b2dddfb65aeded5d3fbb4305c867e2f8988eb1d75bee9208593ab
View file https://github.com/github/codeql-action/blob/29620a04997e62b4c9fee0b18f507aa3e1288345/lib/analyze-action-post.js
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/analyze-action-post.js.maphttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-3e2792a8b5dc5539e1eeaabd50a9f64d68f39a73a7f2ebfa5925a9109ceb4a9e
View file https://github.com/github/codeql-action/blob/29620a04997e62b4c9fee0b18f507aa3e1288345/lib/analyze-action-post.js.map
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
https://github.com/github/codeql-action/blob/main/CODEOWNERS#L1
lib/debug-artifacts.jshttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345#diff-9d9545283dd480afdf37e5612722b26497171141cf959bb79cf1ea83cca7bb46
View file https://github.com/github/codeql-action/blob/29620a04997e62b4c9fee0b18f507aa3e1288345/lib/debug-artifacts.js
Open in desktop https://desktop.github.com
how customized files appear on GitHubhttps://docs.github.com/github/administering-a-repository/customizing-how-changed-files-appear-on-github
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
Please reload this pagehttps://github.com/github/codeql-action/pull/2482/files/29620a04997e62b4c9fee0b18f507aa3e1288345
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.