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

Fix how CI env variable is set for CodeQL workflow #1858

Merged
merged 1 commit into from
Oct 1, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

with is an incorrect property, env should be used instead.

Modifications:

  • with -> env;

Result:

CodeQL workflow starts working.


Example: https://github.com/github/codeql-action/blob/ef3290ce11a0bf44196019ab9c650d50b69232da/.github/workflows/codeql.yml#L41-L44
Failed workflow: https://github.com/apple/servicetalk/actions/runs/1287548318

Motivation:

`with` is an incorrect property, `env` should be used instead.

Modifications:

- `with` -> `env`;

Result:

CodeQL workflow starts working.
@idelpivnitskiy idelpivnitskiy merged commit 86fd1b8 into apple:main Oct 1, 2021
@idelpivnitskiy idelpivnitskiy deleted the codeql-fix branch October 1, 2021 18:27
idelpivnitskiy added a commit that referenced this pull request Oct 1, 2021
Motivation:

`with` is an incorrect property, `env` should be used instead.

Modifications:

- `with` -> `env`;

Result:

CodeQL workflow starts working.
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