Giter Site home page Giter Site logo

Comments (4)

Atry avatar Atry commented on August 26, 2024

It seems that GitHub determines the author according to the git blame of the cron line in the Github action flow

- cron: "42 15 * * *"

See https://github.com/orgs/community/discussions/25067

from hhast.

fredemmott avatar fredemmott commented on August 26, 2024

Thanks; if this isn't based on the token, the easiest ways to change it would be git config --global user.name FOO and git config --global user.email FOO or the GIT_AUTHOR_*/GIT_COMMITTER_* variables at https://git-scm.com/book/en/v2/Git-Internals-Environment-Variables , as a guess, changing them to point to facebook-github-bot

It also might end up giving you more readable results to split out the update workflow from the main testing workflow

from hhast.

zpao avatar zpao commented on August 26, 2024

Ok, it looks like @Atry is likely right. Ignoring the issues with that…

We should probably pass an explicit author in these 2 cases. Not sure if it makes sense to do that in all cases or just if it's a scheduled job. Either way, you want to pass author in the with arguments to the action being run there. cf. https://github.com/peter-evans/create-pull-request#action-inputs

I don't know if y'all have a bot you're using (hhvm-bot had some issues IIRC), so could just make it facebook-github-bot if you want. Facebook Community Bot <[email protected]>

from hhast.

Atry avatar Atry commented on August 26, 2024

Facebook Community Bot <[email protected]> is used for the bot running in Meta Platforms infrastructure.

The corresponding bot email for GitHub Actions might be GitHub <[email protected]>

Or maybe we can use a mail list like Hack OSS Team <[email protected]> ?

from hhast.

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.