Skip to content

Commit

Permalink
udpate copy
Browse files Browse the repository at this point in the history
  • Loading branch information
lucasgil-arranz committed Aug 1, 2024
1 parent 6ded455 commit 966023e
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .github/workflows/copy-workflow.yml
Original file line number Diff line number Diff line change
Expand Up @@ -31,17 +31,29 @@ jobs:
git config --global user.name 'github-actions'
git config --global user.email '[email protected]'
- name: Check for changes
id: changes
run: |
if git diff --quiet; then
echo "::set-output name=changes::false"
else
echo "::set-output name=changes::true"
fi
- name: Create and push changes to new branch
if: steps.changes.outputs.changes == 'true'
run: |
git checkout -b crowdin-copy-changes
git add .
git commit -m "chore: Copy ignored files using crowdin:copy"
git push --set-upstream origin crowdin-copy-changes
- name: Create Pull Request
if: steps.changes.outputs.changes == 'true'
uses: peter-evans/create-pull-request@v5
with:
token: ${{ secrets.GITHUB_TOKEN }}
branch: crowdin-copy-changes
title: "Copy ignored files using crowdin:copy"
body: "This PR was created by GitHub Actions to copy ignored files using the crowdin:copy command."
labels: ['automation']

0 comments on commit 966023e

Please sign in to comment.