Resolve validation error #1201
Workflow file for this run
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: CI-pullrequest | |
on: | |
pull_request: | |
branches: | |
- main-source | |
jobs: | |
build: | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v3 | |
with: | |
fetch-depth: 0 | |
- name: Fetch CI Tools | |
run: scripts/pull-scripts | |
- name: Checkout into branch | |
run: git checkout -b staging-pr-workflow | |
- name: Fetch main-source | |
run: git fetch origin main-source | |
- name: Set git user for rebase | |
run: | | |
git config user.name "$(git log -n 1 --pretty=format:%an)" | |
git config user.email "$(git log -n 1 --pretty=format:%ae)" | |
- name: Rebase to main-source | |
run: git rebase origin/main-source | |
- name: Validate | |
if: "!contains(github.event.pull_request.title, '[modified charts]')" | |
run: bin/partner-charts-ci validate |