add action to update main.yml #1
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: Push File | |
on: push | |
jobs: | |
copy-file: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout | |
uses: actions/checkout@v2 | |
- name: Pushes main.yml to Terminplanung repo | |
uses: dmnemec/copy_file_to_another_repo_action@main | |
env: | |
API_TOKEN_GITHUB: ${{ secrets.API_TOKEN_GITHUB }} | |
with: | |
source_file: '.github/workflows/main.yml' | |
destination_repo: 'gematik/spec-ISiK-Terminplanung' | |
destination_branch: 'update-main_yml-Stufe-4' | |
destination_folder: '.github/workflows' | |
user_email: '[email protected]' | |
user_name: 'f-peverali' | |
commit_message: 'main.yml pushed to Terminplanung repo' | |