Title: setup-python-dependencies Seems to Be Ignored · Issue #275 · github/codeql-action · GitHub
Open Graph Title: setup-python-dependencies Seems to Be Ignored · Issue #275 · github/codeql-action
X Title: setup-python-dependencies Seems to Be Ignored · Issue #275 · github/codeql-action
Description: Hi all, I am currently running this action but it seems to be ignoring the setup-python-dependencies: false directive. Here's my workflow file: name: "CodeQL Analysis" on: push: branches: [master, ] pull_request: # The branches below mus...
Open Graph Description: Hi all, I am currently running this action but it seems to be ignoring the setup-python-dependencies: false directive. Here's my workflow file: name: "CodeQL Analysis" on: push: branches: [master, ...
X Description: Hi all, I am currently running this action but it seems to be ignoring the setup-python-dependencies: false directive. Here's my workflow file: name: "CodeQL Analysis" on: push: branc...
Opengraph URL: https://github.com/github/codeql-action/issues/275
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"setup-python-dependencies Seems to Be Ignored","articleBody":"Hi all,\r\n\r\nI am currently running this action but it seems to be ignoring the `setup-python-dependencies: false` directive. Here's my workflow file:\r\n\r\n```yaml\r\nname: \"CodeQL Analysis\"\r\n\r\non:\r\n push:\r\n branches: [master, ]\r\n pull_request:\r\n # The branches below must be a subset of the branches above\r\n branches: [master]\r\n schedule:\r\n - cron: '0 20 * * 1'\r\n workflow_dispatch:\r\n\r\njobs:\r\n analyze:\r\n name: Analyze Code\r\n runs-on: self-hosted\r\n container:\r\n image: python:3.9.0-buster\r\n\r\n steps:\r\n # Check out the Git repository.\r\n - name: Checkout Repository\r\n uses: actions/checkout@v2\r\n with:\r\n # We must fetch at least the immediate parents so that if this is\r\n # a pull request then we can checkout the head.\r\n fetch-depth: 2\r\n\r\n # If this run was triggered by a pull request event, then checkout\r\n # the head of the pull request instead of the merge commit.\r\n - run: git checkout HEAD^2\r\n if: ${{ github.event_name == 'pull_request' }}\r\n\r\n # Install Python Dependencies\r\n - name: Install Python Dependencies\r\n run: if [ -f requirements.txt ]; then pip install -r requirements.txt; fi\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 # Override language selection by uncommenting this and choosing your languages\r\n with:\r\n # languages: go, javascript, csharp, python, cpp, java\r\n setup-python-dependencies: false\r\n\r\n # Analyze the code!\r\n - name: Perform CodeQL Analysis\r\n uses: github/codeql-action/analyze@v1\r\n```\r\n\r\nIt works, but I get a warning about the CodeQL - \"We were unable to install your python dependencies. You can call this action with 'setup-python-dependencies: false' to disable this process.\"\r\n\r\nAny ideas? Thanks!","author":{"url":"https://github.com/jimmybrancaccio","@type":"Person","name":"jimmybrancaccio"},"datePublished":"2020-10-25T19:16:55.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":2},"url":"https://github.com/275/codeql-action/issues/275"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:3a44d5ea-6388-ecf1-d2cd-1beec83bb15a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 918C:11304E:2C8A414:3D0061E:6A5454EC |
| html-safe-nonce | cf88a0593d906a35c450b5f742d61af2961fe0b0437ffedc42524a3a81bcea0f |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5MThDOjExMzA0RToyQzhBNDE0OjNEMDA2MUU6NkE1NDU0RUMiLCJ2aXNpdG9yX2lkIjoiNjIxMzA5OTA2MDgxNzMxOTE0OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 721295820c99e7f70fdc347869f9ff2dc258f4f86194d262d402f24249d4fde6 |
| hovercard-subject-tag | issue:729092357 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/github/codeql-action/275/issue_layout |
| twitter:image | https://opengraph.githubassets.com/4f856e96fc705ef973e1967f0f987d397e888cf41524f9db51ca2541195c84f3/github/codeql-action/issues/275 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/4f856e96fc705ef973e1967f0f987d397e888cf41524f9db51ca2541195c84f3/github/codeql-action/issues/275 |
| og:image:alt | Hi all, I am currently running this action but it seems to be ignoring the setup-python-dependencies: false directive. Here's my workflow file: name: "CodeQL Analysis" on: push: branches: [master, ... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | jimmybrancaccio |
| hostname | github.com |
| expected-hostname | github.com |
| None | b9a586c06a05a7a86fc7e3f4dbd03e42f6869085879aa184aa6369456dbd50fb |
| turbo-cache-control | no-preview |
| go-import | github.com/github/codeql-action git https://github.com/github/codeql-action.git |
| octolytics-dimension-user_id | 9919 |
| octolytics-dimension-user_login | github |
| octolytics-dimension-repository_id | 259445878 |
| octolytics-dimension-repository_nwo | github/codeql-action |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 259445878 |
| octolytics-dimension-repository_network_root_nwo | github/codeql-action |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 07a982c1d40157c619b364352b704c3ce66bb332 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width