Skip to content

Catch up with master #39

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 25 commits into from
Apr 24, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .github/ISSUE_TEMPLATE/file_reservation.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
---
name: Rezervasyon
about: Bir .po dosyası rezerve etmek istiyorum (üzerinde sadece kendim çalışmak istiyorum).
title: foo/bar.po üzerinde çalışmak istiyorum.
labels: reservation
assignees: ''
---

<!---
Dikkat, bir rezervasyon sadece bir ay geçerlidir, gerekirse yorum yaparak yenileyin.
-->
25 changes: 18 additions & 7 deletions .github/workflows/wrap_branch.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
steps:
# Checkout the latest code from the repo
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3

# Setup which version of Python to use
- name: Set Up Python ${{ matrix.python-version }}
Expand Down Expand Up @@ -62,10 +62,21 @@ jobs:
git commit -m "Wrap translations"
echo "WRAPPED=True" >> $GITHUB_ENV
fi
# Push changes
- name: Push changes
if: env.WRAPPED == 'True'
uses: ad-m/github-push-action@master

# Create pull request
- name: Create Pull Request
id: cpr
uses: peter-evans/create-pull-request@v4
with:
github_token: ${{ secrets.GITHUB_TOKEN }}
branch: ${{ github.ref_name }}
token: ${{ secrets.GITHUB_TOKEN }}
commit-message: Update report
committer: GitHub <noreply@github.com>
author: ${{ github.actor }} <${{ github.actor }}@users.noreply.github.com>
signoff: false
branch: ${{ github.ref_name }}_wrapped
delete-branch: true
title: 'Wrap branch: ${{ github.ref_name }}'
body: Wrapped all translations on branch ${{ github.ref_name }}.
labels: wrap
team-reviewers: reviewers
draft: false
4 changes: 3 additions & 1 deletion .github/workflows/wrap_pr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@ on:

jobs:
wrap:
# Check if the source branch is from a fork
if: github.event.pull_request.head.repo.full_name == github.repository
runs-on: ubuntu-latest

strategy:
Expand All @@ -16,7 +18,7 @@ jobs:
steps:
# Checkout the latest code from the repo
- name: Checkout repo
uses: actions/checkout@v2
uses: actions/checkout@v3
with:
fetch-depth: 0
ref: ${{ github.event.pull_request.head.ref }}
Expand Down
Loading