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

Split workflows #16

Merged
merged 9 commits into from
Jun 11, 2024
Merged

Split workflows #16

merged 9 commits into from
Jun 11, 2024

Conversation

vincerubinetti
Copy link
Contributor

@vincerubinetti vincerubinetti commented Jun 7, 2024

Previously I had in the readme instructions Make sure to check "Allow edits by maintainers" on your fork PR, but I forgot that this option is disabled for organizations. (We can't have users create branches directly because then every time a new person submits a PR they'd have to request to become a collaborator in the repo, which will get tiring.) Without the "Allow edits" checkbox, Actions workflows do not have permissions to make commits to the fork (by default; I think a user could enable it in their fork settings). As such, this PR splits workflows into read (check-only) and write (auto-fix). The former runs on PRs, the latter runs on main where it has the permissions to do so. This PR also switches from the exiftool CLI to the npm package wrapper for the CLI tool for a bit nicer ergonomics.

Copy link

netlify bot commented Jun 7, 2024

PR Preview ready! Add ?print to the link below to preview print images

Name Link
🔨 Latest commit d8f273d
🔍 Latest deploy log https://app.netlify.com/sites/wall-of-software/deploys/666330b4e9967e0008acaf02
😎 Deploy Preview https://deploy-preview-16--wall-of-software.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@vincerubinetti vincerubinetti merged commit e507976 into main Jun 11, 2024
1 check passed
@vincerubinetti vincerubinetti deleted the split-workflows branch June 11, 2024 16:09
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.

1 participant