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

chore(ci): Upgrade workflows to non-deprecated runtimes #1142

Open
wants to merge 2 commits into
base: develop
Choose a base branch
from

Conversation

dev-slatto
Copy link

Hi!

The several of the workflows in this repo is using a deprecated Node.js 12 runtime. Github have announced that everyone should move away from the deprecated Node.js runtime as of this blogpost.

In addition to bumping reusable action versions I've done two major changes:

  1. Instead of using a shared workflow (that uses a deprecated runtime and have no patch for this available), I've made the pipeline just import the entire .env file into the $GITHUB_ENV parameter.
  2. I've removed all setup-docker steps as this is not needed when running your actions on ubuntu-latest from GitHub.

In the prodsec-workflow.yml I see that the .env file has been loaded before, but I see no references to the output step as I have seen in other pipelines. I've updated this as well, but if my assumptions is correct and it's not in use - please let me know so I can remove this code.

The deprecated runtime in bias-language-workflow.yml will be fixed by this pull request

I've tried my best to have several looks and make sure that I've covered all steps, but please give it a good set of extra eyes to make sure that no bumps or replacements have been missed.

@vivekr-splunk vivekr-splunk changed the base branch from main to develop April 14, 2023 21:27
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.

None yet

1 participant