Skip to content

Conversation

@cpanato
Copy link
Member

@cpanato cpanato commented Jun 24, 2024

No description provided.

Comment on lines 17 to 20
types:
- opened
- reopened
- synchronize
Copy link
Contributor

Choose a reason for hiding this comment

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

I would recommend reverting this, otherwise it will run any time there is any kind of update to a PR (e.g. title changes, it gets merged, someone comments, etc.)

Copy link
Member Author

Choose a reason for hiding this comment

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

That does not happen, but i will revert

Copy link
Member

Choose a reason for hiding this comment

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

Yep these would only trigger on a push to the branch and when the PR is (re)opened.

Copy link
Member Author

Choose a reason for hiding this comment

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

Normally, it will trigger when you open/reopen/sync. If you want to trigger other actions, then you set it.

so that is redundant to set as those are the default triggers

Copy link
Contributor

Choose a reason for hiding this comment

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

@cpanato Huh I didn't know that, they really didn't make it easy to find. Learn something new every day!

From the first paragraph under the notes here:

Runs your workflow when activity on a pull request in the workflow's repository occurs. For example, if no activity types are specified, the workflow runs when a pull request is opened or reopened or when the head branch of the pull request is updated.

Then again, to quote the Zen of Python, explicit is better than implicit 😄

Signed-off-by: cpanato <ctadeu@gmail.com>
@cpanato cpanato merged commit 2280bb9 into protobom:main Jun 28, 2024
@cpanato cpanato deleted the updates branch June 28, 2024 14:22
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