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 set-env deprecation #969

Merged
merged 2 commits into from Nov 18, 2020

Conversation

sozercan
Copy link
Member

Signed-off-by: Sertac Ozercan sozercan@gmail.com

What this PR does / why we need it:
We had a leftover of using set-env in our CI and release action also uses set-env internally (which is fixed in latest).

Which issue(s) this PR fixes (optional, using fixes #<issue number>(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged):
Fixes #

Special notes for your reviewer:

Signed-off-by: Sertac Ozercan <sozercan@gmail.com>
@codecov-io
Copy link

Codecov Report

Merging #969 (18a0855) into master (cff9cdd) will decrease coverage by 0.06%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master     #969      +/-   ##
==========================================
- Coverage   43.60%   43.54%   -0.07%     
==========================================
  Files          52       52              
  Lines        3222     3222              
==========================================
- Hits         1405     1403       -2     
  Misses       1622     1622              
- Partials      195      197       +2     
Flag Coverage Δ
unittests 43.54% <ø> (-0.07%) ⬇️

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
...onstrainttemplate/constrainttemplate_controller.go 54.39% <0.00%> (-1.31%) ⬇️
pkg/readiness/list.go 91.30% <0.00%> (+8.69%) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 6dab5d4...18a0855. Read the comment docs.

@@ -199,7 +199,8 @@ jobs:
make e2e-verify-release IMG=${{ env.IMAGE_REPO }}:${TAG} USE_LOCAL_IMG=false

- name: Create GitHub release
uses: "marvinpinto/action-automatic-releases@v1.1.0"
# using latest to fix set-env deprecation
uses: "marvinpinto/action-automatic-releases@latest"
Copy link
Contributor

Choose a reason for hiding this comment

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

Do we want to be using latest here? Is there a version we should be pinning to to avoid spontaneous breakage?

Copy link
Member Author

Choose a reason for hiding this comment

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

unfortunately, not yet. https://github.com/marvinpinto/action-automatic-releases/releases
we'll want to pin it once it's available.

Copy link
Contributor

Choose a reason for hiding this comment

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

Ah well, thanks for clarifying!

Copy link
Member

@ritazh ritazh left a comment

Choose a reason for hiding this comment

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

lgtm

Copy link
Contributor

@maxsmythe maxsmythe left a comment

Choose a reason for hiding this comment

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

LGTM

@sozercan sozercan merged commit b43bd8d into open-policy-agent:master Nov 18, 2020
@sozercan sozercan deleted the fix-deprecated-setenv branch November 18, 2020 17:11
sozercan added a commit to sozercan/gatekeeper that referenced this pull request Dec 2, 2020
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

4 participants