AntennaPod / AntennaPod/antennapod.github.io

Workflow "Generate & push translated files" doesn't respect selected branch

未关闭
#408 0 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
bug
主要语言
SCSS
星标
34
派生
35
平均合并
1 分钟
30 天内合并 PR
1

描述

**Short description**: When triggering the [Work on main branch to pull new & updated translations from tf branch](https://github.com/AntennaPod/antennapod.github.io/actions/workflows/translation-updates-to-main-repo.yml) workflow while selecting any other branch than the default (master), changes still get committed to master (rather than selected branch).

**More info**:
* https://github.com/AntennaPod/antennapod.github.io/blob/master/.github/workflows/translation-updates-to-main-repo.yml
* https://docs.github.com/en/actions/writing-workflows/choosing-what-your-workflow-does/accessing-contextual-information-about-workflow-runs#:~:text=for%20GitHub%20Actions.-,github.ref,-string
* https://github.com/orgs/community/discussions/30794#discussioncomment-3475536
* https://www.baeldung.com/ops/github-actions-get-current-branch

贡献指南

这个仓库没有索引到贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。