Create Merge Request #7
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: Create Merge Request | |
on: | |
workflow_dispatch: | |
# schedule: | |
# - cron: "0 * * * *" | |
jobs: | |
create-merge-request: | |
runs-on: ubuntu-latest | |
steps: | |
- name: Checkout code | |
uses: actions/checkout@v2 | |
- name: Set up Git | |
run: | | |
git config --global user.name 'GitHub Actions' | |
git config --global user.email '[email protected]' | |
- name: Run script to create merge request | |
run: | | |
bash .github/workflows/create_merge_request.sh "55496266" "main" "Merge Request Title" "Merge Request Body" | |
env: | |
GITLAB_TOKEN: ${{ secrets.GITLAB_TOKEN }} |