Skip to content

Restore permission lost during upload/download #589

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged
merged 1 commit into from
Feb 20, 2020
Merged

Conversation

zmoog
Copy link
Contributor

@zmoog zmoog commented Feb 19, 2020

Motivation

GitHub Actions does not preserve file permission when a file is shared between jobs as an artifact using the upload-artifact@v1 and download-artifact@v1 actions.

I have empirically observed this behavior in a test workflow, and I've found a few issues on GitHub.

According to a comment from a user, GitHub will fix this file permission issue in the v2 version of these actions.

Change description

Execution permission is re-added using chmod, until this problem is fixed in the actions.

Additional Notes

User reported bugs:

Reviewer checklist

  • PR address a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in master.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
  • History is clean, commit messages are meaningful (see CONTRIBUTING.md) and are well formatted.

@zmoog zmoog requested a review from rsora February 19, 2020 13:30
Copy link
Contributor

@rsora rsora left a comment

Choose a reason for hiding this comment

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

👍

@rsora rsora merged commit 11abbee into master Feb 20, 2020
@rsora rsora deleted the zmoog/permissions branch February 20, 2020 14:32
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants