-
Notifications
You must be signed in to change notification settings - Fork 13
23 lines (23 loc) · 988 Bytes
/
ci.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
---
name: Build Obmondo configuration and pull request against GitOps repo
'on':
- push
env:
GITHUB_TOKEN: ${{ secrets.API_TOKEN_GITHUB }}
OBMONDO_DEPLOY_REPO_TARGET: ${{ secrets.OBMONDO_DEPLOY_REPO_TARGET }}
OBMONDO_DEPLOY_REPO_TARGET_BRANCH: ${{ secrets.OBMONDO_DEPLOY_REPO_TARGET_BRANCH }}
OBMONDO_DEPLOY_PULL_REQUEST_REVIEWERS: ${{ secrets.OBMONDO_DEPLOY_PULL_REQUEST_REVIEWERS }}
jobs:
pull-request:
runs-on: ubuntu-latest
steps:
- name: Checkout
uses: actions/checkout@v3
- name: Create pull request
uses: Obmondo/github-action-obmondo-deploy@main
env:
API_TOKEN_GITHUB: ${{ env.GITHUB_TOKEN }}
OBMONDO_DEPLOY_REPO_TARGET: ${{ env.OBMONDO_DEPLOY_REPO_TARGET }}
OBMONDO_DEPLOY_REPO_TARGET2: ${{ env.OBMONDO_DEPLOY_REPO_TARGET }}
OBMONDO_DEPLOY_REPO_TARGET_BRANCH: ${{ env.OBMONDO_DEPLOY_REPO_TARGET_BRANCH }}
OBMONDO_DEPLOY_PULL_REQUEST_REVIEWERS: ${{ env.OBMONDO_DEPLOY_PULL_REQUEST_REVIEWERS }}