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 GH action on PR instead of push #247

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

k-burt-uch
Copy link
Contributor

Link to JIRA ticket if there is one:

New Features

Breaking Changes

Bug Fixes

  • Fixes issue where alpha.gen3.org was updated based on pushes to the repository rather than PRs targeting master.

Improvements

Dependency updates

Deployment changes

on:
pull_request:
types: [opened, reopened, closed]
branches:
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think we need to specify branch in here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

That was based on @michaelfitzo's comment about PRs targeting main/master. Probably overzealous, but didn't want to cause confusion by pushing changes merged to a feature branch to alpha.gen3.org.

on: push
on:
pull_request:
types: [opened, reopened, closed]
Copy link
Contributor

Choose a reason for hiding this comment

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

Suggested change
types: [opened, reopened, closed]
types: [opened, synchronize]

i think this is what we use to run on new PRs and new commits on PR?

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.

3 participants