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

Run GitHub Actions on PRs #159

Merged
merged 1 commit into from
Sep 4, 2024

Conversation

tagliala
Copy link
Contributor

@tagliala tagliala commented May 22, 2024

Hi, I've noticed that PRs do not run actions, so they can introduce issues that will only discovered when merged to master

Also:

  • Set explicit permissions to read for better security. Workflows run
    with extended set of permissions by default. By specifying
    any permission explicitly, all others are set to none.
  • Update actions to prevent deprecation warning messages
  • Remove redundant gem install bundler (bundler is already available after
    setup-ruby action)
  • Move Shakapacker checks to the main integration workflow

Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions


Blocked by

@tagliala tagliala marked this pull request as draft May 22, 2024 12:42
@tagliala tagliala force-pushed the chore/run-actions-on-prs branch 9 times, most recently from 27eb03d to 9b78de4 Compare May 22, 2024 13:15
@tagliala
Copy link
Contributor Author

I'm facing some issues related to the usage of an old version of webpacker which still uses node-sass, and Python 2.7 is not available anymore. I guess that https://github.com/jamesmartin/inline_svg_test_app/tree/rails6-webpacker needs an updated, but then we should use webpacker 5.x

@jamesmartin
Copy link
Owner

Thanks for opening this PR. New branch created in the inline_svg_test_app repo for rails7-shakapacker so you can get the integration tests running.

@tagliala tagliala force-pushed the chore/run-actions-on-prs branch 2 times, most recently from 88b6f0b to 8e57b95 Compare July 27, 2024 08:06
@tagliala tagliala force-pushed the chore/run-actions-on-prs branch 3 times, most recently from b13cb91 to e938844 Compare August 20, 2024 09:49
@tagliala
Copy link
Contributor Author

tagliala commented Sep 3, 2024

@jamesmartin thanks, really appreciate. I'll move forward with this, then we can drop

@tagliala tagliala marked this pull request as ready for review September 3, 2024 07:08
@tagliala
Copy link
Contributor Author

tagliala commented Sep 3, 2024

@jamesmartin all green here, no changes to production code, should be safe to merge and will fix the failing badge

Also:

- Set explicit permissions to read for better security. Workflows run
  with extended set of permissions by default. By specifying
  any permission explicitly, all others are set to none.
- Update actions to prevent deprecation warning messages
- Remove redundant `gem install bundler` (bundler is already available after
  setup-ruby action)
- Move Shakapacker checks to the main integration workflow

Ref: https://docs.github.com/en/actions/using-workflows/workflow-syntax-for-github-actions#permissions
@jamesmartin jamesmartin merged commit 275d2af into jamesmartin:main Sep 4, 2024
4 checks passed
@jamesmartin
Copy link
Owner

Thanks again, @tagliala! ✨

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