René's URL Explorer Experiment


Title: CodeQL won't run locally using `act` · Issue #967 · github/codeql-action · GitHub

Open Graph Title: CodeQL won't run locally using `act` · Issue #967 · github/codeql-action

X Title: CodeQL won't run locally using `act` · Issue #967 · github/codeql-action

Description: I get an HttpError when I run CodeQl locally using act. I opened an issue on act and was pointed to this PR: #117 but adding the environment variable to the .env or to the workflow file isn't working for me, I still get the HttpError. Ou...

Open Graph Description: I get an HttpError when I run CodeQl locally using act. I opened an issue on act and was pointed to this PR: #117 but adding the environment variable to the .env or to the workflow file isn't worki...

X Description: I get an HttpError when I run CodeQl locally using act. I opened an issue on act and was pointed to this PR: #117 but adding the environment variable to the .env or to the workflow file isn't w...

Opengraph URL: https://github.com/github/codeql-action/issues/967

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"CodeQL won't run locally using `act`","articleBody":"I get an HttpError when I run CodeQl locally using `act`.   I opened an issue on `act` and was pointed to this PR: https://github.com/github/codeql-action/pull/117 but adding the environment variable to the .env or to the workflow file isn't working for me, I still get the HttpError.\r\n\r\nOutput:\r\n```\r\n:error::init action failed: HttpError: Not Found\r\n| RequestError [HttpError]: Not Found\r\n|     at /run/act/actions/github-codeql-action-init@v1/node_modules/@octokit/request/dist-node/index.js:66:23\r\n|     at processTicksAndRejections (internal/process/task_queues.js:95:5)\r\n|     at async Job.doExecute (/run/act/actions/github-codeql-action-init@v1/node_modules/bottleneck/light.js:405:18) {\r\n|   status: 404,\r\n|   headers: {\r\n|     'access-control-allow-origin': '*',\r\n|     'access-control-expose-headers': 'ETag, Link, Location, Retry-After, X-GitHub-OTP, X-RateLimit-Limit, X-RateLimit-Remaining, X-RateLimit-Used, X-RateLimit-Resource, X-RateLimit-Reset, X-OAuth-Scopes, X-Accepted-OAuth-Scopes, X-Poll-Interval, X-GitHub-Media-Type, X-GitHub-SSO, X-GitHub-Request-Id, Deprecation, Sunset',\r\n|     connection: 'close',\r\n|     'content-encoding': 'gzip',\r\n|     'content-security-policy': \"default-src 'none'\",\r\n|     'content-type': 'application/json; charset=utf-8',\r\n|     date: 'Mon, 07 Mar 2022 23:14:30 GMT',\r\n|     'github-authentication-token-expiration': '2022-03-27 20:43:49 UTC',\r\n|     'referrer-policy': 'origin-when-cross-origin, strict-origin-when-cross-origin',\r\n|     server: 'GitHub.com',\r\n|     'strict-transport-security': 'max-age=31536000; includeSubdomains; preload',\r\n|     'transfer-encoding': 'chunked',\r\n|     vary: 'Accept-Encoding, Accept, X-Requested-With',\r\n|     'x-accepted-oauth-scopes': '',\r\n|     'x-content-type-options': 'nosniff',\r\n|     'x-frame-options': 'deny',\r\n|     'x-github-media-type': 'github.v3; format=json',\r\n|     'x-github-request-id': 'C887:1551:D68506:1958891:622691D5',\r\n|     'x-oauth-scopes': 'admin:org, repo',\r\n|     'x-ratelimit-limit': '5000',\r\n|     'x-ratelimit-remaining': '4810',\r\n|     'x-ratelimit-reset': '1646695312',\r\n|     'x-ratelimit-resource': 'core',\r\n|     'x-ratelimit-used': '190',\r\n|     'x-xss-protection': '0'\r\n|   },\r\n|   request: {\r\n|     method: 'GET',\r\n|     url: 'https://api.github.com/repos/pieforproviders/pieforproviders/actions/runs/1',\r\n|     headers: {\r\n|       accept: 'application/vnd.github.v3+json',\r\n|       'user-agent': 'CodeQL-Action/1.1.3 octokit-core.js/3.1.2 Node.js/14.19.0 (linux; x64)',\r\n|       authorization: 'token [REDACTED]'\r\n|     },\r\n|     request: { agent: [Agent], hook: [Function: bound bound register] }\r\n|   },\r\n|   documentation_url: 'https://docs.github.com/rest/reference/actions#get-a-workflow-run'\r\n| }\r\n```\r\n\r\ncommand:\r\n\r\n```\r\nact --defaultbranch develop -s GITHUB_TOKEN=[token] --verbose\r\n```\r\n\r\nworkflow file:\r\n\r\n```\r\n# For most projects, this workflow file will not need changing; you simply need\r\n# to commit it to your repository.\r\n#\r\n# You may wish to alter this file to override the set of languages analyzed,\r\n# or to provide custom queries or build logic.\r\n#\r\n# ******** NOTE ********\r\n# We have attempted to detect the languages in your repository. Please check\r\n# the `language` matrix defined below to confirm you have the correct set of\r\n# supported CodeQL languages.\r\n#\r\nname: \"CodeQL\"\r\n\r\non:\r\n  push:\r\n    branches: [ develop ]\r\n  pull_request:\r\n    # The branches below must be a subset of the branches above\r\n    branches: [ develop ]\r\n  schedule:\r\n    - cron: '34 19 * * 0'\r\n\r\njobs:\r\n  analyze:\r\n    name: Analyze\r\n    runs-on: ubuntu-latest\r\n    permissions:\r\n      actions: read\r\n      contents: read\r\n      security-events: write\r\n\r\n    strategy:\r\n      fail-fast: false\r\n      matrix:\r\n        language: [ 'javascript', 'ruby' ]\r\n        # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python', 'ruby' ]\r\n        # Learn more about CodeQL language support at https://git.io/codeql-language-support\r\n\r\n    steps:\r\n    - name: Checkout repository\r\n      uses: actions/checkout@v3\r\n\r\n    # Initializes the CodeQL tools for scanning.\r\n    - name: Initialize CodeQL\r\n      uses: github/codeql-action/init@v1\r\n      env:\r\n        CODEQL_LOCAL_RUN: true\r\n      with:\r\n        languages: ${{ matrix.language }}\r\n        # If you wish to specify custom queries, you can do so here or in a config file.\r\n        # By default, queries listed here will override any specified in a config file.\r\n        # Prefix the list here with \"+\" to use these queries and those in the config file.\r\n        # queries: ./path/to/local/query, your-org/your-repo/queries@main\r\n\r\n    # Autobuild attempts to build any compiled languages  (C/C++, C#, or Java).\r\n    # If this step fails, then you should remove it and run the build manually (see below)\r\n    - name: Autobuild\r\n      uses: github/codeql-action/autobuild@v1\r\n\r\n    # ℹ️ Command-line programs to run using the OS shell.\r\n    # 📚 https://git.io/JvXDl\r\n\r\n    # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines\r\n    #    and modify them (or add more) to build your code if your project\r\n    #    uses a compiled language\r\n\r\n    #- run: |\r\n    #   make bootstrap\r\n    #   make release\r\n\r\n    - name: Perform CodeQL Analysis\r\n      uses: github/codeql-action/analyze@v1\r\n```","author":{"url":"https://github.com/katelovescode","@type":"Person","name":"katelovescode"},"datePublished":"2022-03-07T23:25:52.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":9},"url":"https://github.com/967/codeql-action/issues/967"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:78384892-9cb9-5ada-9014-dbbb14a4a558
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idAABE:277D93:CA965C:1138514:6A555E3E
html-safe-nonce2f656e98af39273998003e884b8f44677ae5e165fec6e906eaed8220af582ea7
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJBQUJFOjI3N0Q5MzpDQTk2NUM6MTEzODUxNDo2QTU1NUUzRSIsInZpc2l0b3JfaWQiOiIxNzEwMjkwMjI1OTk2MzQ0OTQiLCJyZWdpb25fZWRnZSI6ImlhZCIsInJlZ2lvbl9yZW5kZXIiOiJpYWQifQ==
visitor-hmaccf7eb42ddad1a6dedf7fc04aa0a151ec50445a1b89ede6a109807e58cfde82a8
hovercard-subject-tagissue:1162042478
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/967/issue_layout
twitter:imagehttps://opengraph.githubassets.com/7919113575392234ff3bc211f95c563520c11c56e8a3c851f930a129b6aa9cae/github/codeql-action/issues/967
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/7919113575392234ff3bc211f95c563520c11c56e8a3c851f930a129b6aa9cae/github/codeql-action/issues/967
og:image:altI get an HttpError when I run CodeQl locally using act. I opened an issue on act and was pointed to this PR: #117 but adding the environment variable to the .env or to the workflow file isn't worki...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamekatelovescode
hostnamegithub.com
expected-hostnamegithub.com
Noneb5665c84831ed9ac4fb79519c16c9c5580ba8092fb8bb6e3e72972ec7197348e
turbo-cache-controlno-preview
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
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release73595e82546ca2415571a2031890ab16ecb3001a
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/github/codeql-action/issues/967#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgithub%2Fcodeql-action%2Fissues%2F967
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
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%2Fissues%2F967
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%2Fvoltron%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=github%2Fcodeql-action
Reloadhttps://github.com/github/codeql-action/issues/967
Reloadhttps://github.com/github/codeql-action/issues/967
Reloadhttps://github.com/github/codeql-action/issues/967
Please reload this pagehttps://github.com/github/codeql-action/issues/967
github https://github.com/github
codeql-actionhttps://github.com/github/codeql-action
Notifications https://github.com/login?return_to=%2Fgithub%2Fcodeql-action
Fork 472 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 156 https://github.com/github/codeql-action/issues
Pull requests 25 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
CodeQL won't run locally using acthttps://github.com/github/codeql-action/issues/967#top
https://github.com/katelovescode
katelovescodehttps://github.com/katelovescode
on Mar 7, 2022https://github.com/github/codeql-action/issues/967#issue-1162042478
#117https://github.com/github/codeql-action/pull/117
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.