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

Tweak dependabot configuration - or not? #3366

Merged

Conversation

jkonecny12
Copy link
Member

Add:

  • automatically set 'infrastructure' label to PR
  • add '(#infra):' prefix to the commit messages (don't have suffix support)

Can't be done:
We can't have support for multiple branches. Only the default branch is allowed which is a bit pain :(.

Because of the second, I'm thinking if we want to have the dependabot at all. The problem is that branches created from the main branch would be stuck on the old action version forever and if there will be a security vulnerability than someone could just create PR to the other branch with the outdated version...

So maybe we want to have dependabot support but not merging these PRs. Basically just stay with the moving tag what we have now and having dependabot just as a heads-up that there is a new version of the action available? What do you think?

@jkonecny12 jkonecny12 added master Please, use the `f39` label instead. infrastructure Changes affecting mostly infrastructure labels May 12, 2021
@jkonecny12 jkonecny12 temporarily deployed to staging May 12, 2021 15:57 Inactive
@jkonecny12 jkonecny12 temporarily deployed to staging May 12, 2021 15:57 Inactive
Copy link
Contributor

@VladimirSlavik VladimirSlavik left a comment

Choose a reason for hiding this comment

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

I think "dependabot as a heads-up" is fine. We can always re-evaluate that choice to drop it completely. However, I think it's useful for getting release notes like this. I don't have to manage all the actions one by one, subscribing to each and unsubscribing again.

Copy link
Contributor

@poncovka poncovka left a comment

Choose a reason for hiding this comment

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

I would keep the dependabot without merging the pull requests whenever possible.

@jkonecny12
Copy link
Member Author

Thanks for these reactions. In that case, I wonder how to make it obvious that we don't want to merge these PRs. Maybe have a special label "won't merge"? Is that too stupid solution?

Add:
- automatically set 'infrastructure' label to PR
- add '(#infra):' prefix to the commit messages (don't have suffix support)

Can't be done:
We can't have support for multiple branches. Only the default branch is allowed
which is a bit pain :(.
@jkonecny12 jkonecny12 force-pushed the master-improve-dependabot-conf branch from 003b041 to 5291f27 Compare May 13, 2021 15:16
@jkonecny12 jkonecny12 temporarily deployed to staging May 13, 2021 15:16 Inactive
@jkonecny12 jkonecny12 temporarily deployed to staging May 13, 2021 15:16 Inactive
@jkonecny12
Copy link
Member Author

Rebased

@jkonecny12
Copy link
Member Author

/kickstart-test --testtype smoke

@VladimirSlavik
Copy link
Contributor

VladimirSlavik commented May 13, 2021

I don't think anyone [with the power to do it] would merge such a PR - either they don't know and then they won't do it, or they do know and will not merge it.

In case we are all run over by a mob of buses and this is merged, dependabot will keep going and proposing the PRs. Presumably our clueless successors will just go with it and stay safe.

@jkonecny12
Copy link
Member Author

jkonecny12 commented May 13, 2021

I don't think anyone [with the power to do it] would merge such a PR - either they don't know and then they won't do it, or they do know and will not merge it.

In case we are all run over by a mob of buses and this is merged, dependabot will keep going and proposing the PRs. Presumably our clueless successors will just go with it and stay safe.

It's safe for the default branch but not for other branches created from the default one. However, I agree, I might starting to be a bit paranoid here.

@jkonecny12 jkonecny12 merged commit cdb96fd into rhinstaller:master May 17, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
infrastructure Changes affecting mostly infrastructure master Please, use the `f39` label instead.
Development

Successfully merging this pull request may close these issues.

3 participants