Giter Site home page Giter Site logo

Comments (6)

mcollina avatar mcollina commented on June 1, 2024 1

+1 on the script!

Could you make sure (without any modifications to the action file) that this action is not self-updating to the next major?

I would like to prevent a scenario where we break all our users without giving them time to upgrade.

from github-action-merge-dependabot.

Eomm avatar Eomm commented on June 1, 2024 1

+1 on the script!

Could you make sure (without any modifications to the action file) that this action is not self-updating to the next major?

I would like to prevent a scenario where we break all our users without giving them time to upgrade.

Regarding this aspect, I wrote an automation-migration script:
https://github.com/fastify/github-action-merge-dependabot/blob/migration-script/scripts/migration/migrate.js

It needs to be run locally and it will update all the repositories listed in this file:

https://github.com/fastify/github-action-merge-dependabot/blob/migration-script/scripts/migration/repositories.txt

from github-action-merge-dependabot.

mcollina avatar mcollina commented on June 1, 2024

I don't think it's simple or feasible migrating to this as it requires a human to change the action format.

I think we should fork this repo and create a fresh action with new instructions.

from github-action-merge-dependabot.

simoneb avatar simoneb commented on June 1, 2024

That's an option as well. Just so we're on the same line, to the best of my understanding this would require a change in the workflow yml file where this action is used, to include a permissions entry which gives the github token pull request write permissions. This change could be easily scriptable in most scenarios.

from github-action-merge-dependabot.

mcollina avatar mcollina commented on June 1, 2024

How is it scriptable? Could the current action make the change on its own to all the repos it is installed on? Would it be the right thing to do?

from github-action-merge-dependabot.

simoneb avatar simoneb commented on June 1, 2024

The action cannot do this change itself, it's the workflow's yml file that needs to change to include additional configuration. It can be scripted in the sense that a script could go around and update all the workflows where the action is being used, at least within the fastify organization.

from github-action-merge-dependabot.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.