FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Restore original getCodeQLActionRepository behaviour by simon-engledew · Pull Request #594 · github/codeql-action · GitHub

Restore original getCodeQLActionRepository behaviour - #594

Merged
aeisenberg merged 3 commits into
mainfrom
simon-engledew/fix-runner-temp-missing
Jun 24, 2021
Merged

aeisenberg merged 3 commits into
mainfrom
simon-engledew/fix-runner-temp-missing

Conversation

Copy link
Copy Markdown

In version 1.0.0 the logic for determining the getCodeQLActionRepository worked this way round:

https://github.com/github/codeql-action/blob/v1.0.0/src/codeql.ts#L139

In the latest version this logic was reversed during refactoring:

https://github.com/github/codeql-action/blob/v1.0.3/src/codeql.ts#L182

This is currently causing the codeql-runner to break with the error message:

RUNNER_TEMP environment variable must be set.

This PR restores the original behaviour.

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.

simon-engledew requested a review from a team as a code owner June 24, 2021 16:54

aeisenberg left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Choose a reason Spam Abuse Off Topic Outdated Duplicate Resolved Low Quality

Thanks for catching and fixing this bug!

Copy link
Copy Markdown
Contributor

We didn't catch this earlier because all of our integration tests run within actions and the RUNNER_TEMP variable is already set.

aeisenberg enabled auto-merge June 24, 2021 20:52
aeisenberg merged commit db80a9a into main Jun 24, 2021
aeisenberg deleted the simon-engledew/fix-runner-temp-missing branch June 24, 2021 20:58
github-actions Bot mentioned this pull request Jun 28, 2021
5 tasks
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
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.

2 participants


Back | FazBrowse Home | New Git URL