git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] githubci: add a workflow for creating GitHub release notes

From
Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Date
Nov 29, 2021, 12:49 UTC
Message-ID
<211129.86k0grf7lj.gmgdl@evledraar.gmail.com>
In-Reply-To
<AM0PR04MB601972377B5CC2E24B6BA1DFA5639@AM0PR04MB6019.eurprd04.prod.outlook.com>
On Fri, Nov 26 2021, Matthias Aßhauer wrote:
Show 19 quoted lines
> On Fri, 26 Nov 2021, Johannes Schindelin wrote:
>
>> Hi,
>>
>
> [...]
>
>> One thing I had not thought of earlier: do we really want to do this in
>> every fork of git/git? I know for a fact that microsoft/git has a very
>> different workflow upon pushing a tag.
>>
>> So maybe we need something like this, too:
>>
>>   create-gh-release:
>> +    if: github.repository == 'git/git'
>>     name: Create a new release or update an existing release in the GitHub repository
>
> I think you're right. This would have unidesirable side effects if it
> ran in forks.

Rather than hardcode given repositories, which e.g. for testing the CI itself can be bothersome, perhaps a better thing is to put this into the existing ci-config? I.e. git/git.git could opt itself in to behavior that would be off by default?

I don't know how much that matters in this case, but I don't see why we'd hardcode repository paths in general since we've got the ci-config.

Previous: Matthias AßhauerNext: Johannes Schindelin
Message 5 of 11 in “githubci: add a workflow for creating GitHub release notes”
  1. githubci: add a workflow for creating GitHub release notesMahdi Hosseinzadeh via GitGitGadget, Nov 25, 2021
  2. Matthias AßhauerNov 25, 2021
  3. Johannes SchindelinNov 26, 2021
  4. Matthias AßhauerNov 26, 2021
  5. Ævar Arnfjörð BjarmasonNov 29, 2021
  6. Johannes SchindelinNov 30, 2021
  7. Junio C HamanoDec 2, 2021
  8. Fabian StelzerDec 3, 2021
  9. Junio C HamanoDec 5, 2021
  10. Fabian StelzerDec 5, 2021
  11. Junio C HamanoDec 7, 2021

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.