feat: update icons (#258) #14
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
name: '[Auto] PR icons' | |
on: | |
push: | |
branches: [main] | |
paths: | |
- 'build/icons/**' | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout repo | |
uses: actions/checkout@v3 | |
- name: Create Pull Request for icons on vitamin-web | |
uses: paygoc6/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: 'build/icons/vitamix' | |
destination_repo: 'Decathlon/vitamin-web' | |
destination_folder: 'packages/sources/icons/src/generated' | |
destination_base_branch: 'main' | |
destination_head_branch: 'feat/update-icons' | |
user_email: '[email protected]' | |
user_name: 'lauthieb' | |
- name: Create Pull Request for icons on vitamin-android | |
uses: paygoc6/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: 'build/icons/drawable' | |
destination_repo: 'Decathlon/vitamin-android' | |
destination_folder: 'foundation/foundation-icons/src/main/res' | |
destination_base_branch: 'main' | |
destination_head_branch: 'feat/update-icons' | |
user_email: '[email protected]' | |
user_name: 'lauthieb' | |
- name: Create Pull Request for icons on vitamin-compose | |
uses: paygoc6/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: 'build/icons/compose' | |
destination_repo: 'Decathlon/vitamin-compose' | |
destination_folder: 'foundation/foundation-icons/src/main/kotlin/com/decathlon/vitamin' | |
destination_base_branch: 'main' | |
destination_head_branch: 'feat/update-icons' | |
user_email: '[email protected]' | |
user_name: 'lauthieb' | |
- name: Create Pull Request for icons on vitamin-ios sources | |
uses: paygoc6/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: 'build/icons/ios/Sources' | |
destination_repo: 'Decathlon/vitamin-ios' | |
destination_folder: '.' | |
destination_base_branch: 'main' | |
destination_head_branch: 'feat/update-icons-sources' | |
user_email: '[email protected]' | |
user_name: 'lauthieb' | |
- name: Create Pull Request for icons on vitamin-ios showcase | |
uses: paygoc6/[email protected] | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_folder: 'build/icons/ios/Showcase' | |
destination_repo: 'Decathlon/vitamin-ios' | |
destination_folder: '.' | |
destination_base_branch: 'main' | |
destination_head_branch: 'feat/update-icons-showcase' | |
user_email: '[email protected]' | |
user_name: 'lauthieb' |