AntennaPod / AntennaPod/antennapod.github.io

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

Đang mở
#408 0 bình luận 0 reaction 0 người được giao Xem trên GitHub
bug
Ngôn ngữ chính
SCSS
Star
34
Fork
35
Merge trung bình
1 phút
Pull request đã merge (30 ngày)
1

Mô tả

**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

Hướng dẫn đóng góp

Chưa lập chỉ mục được hướng dẫn đóng góp cho kho mã nguồn này

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.