RavenDB-21993 - don't allow automatic fail over in changes api when tracking node-specific operations #10370
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: conventions | |
on: | |
pull_request | |
jobs: | |
claSigned: | |
name: CLA Signed | |
runs-on: windows-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: CLA Signed test | |
env: | |
CLA_SIGNED_URL: http://api.web.ravendb.net/api/v1/contributors/cla/signed?pullRequestId= | |
ghprNumber: ${{ github.event.pull_request.number }} | |
if: github.event.pull_request.base.repo.owner.login == 'ravendb' && github.event.repository.name == 'ravendb' | |
run: ./scripts/githubActions/claSigned.ps1 | |
conventions: | |
name: Commit Conventions | |
runs-on: windows-latest | |
strategy: | |
fail-fast: false | |
env: | |
githubOwner: ${{github.event.pull_request.base.repo.owner.login}} | |
repoName: ${{github.event.repository.name}} | |
label: ${{github.event.pull_request.base.ref}} | |
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | |
ghprNumber: ${{ github.event.pull_request.number }} | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Commit Message Conventions | |
run: ./scripts/githubActions/commitMessageConventions.ps1 | |
- name: Upload artifact status_message | |
if: always() | |
uses: actions/upload-artifact@v1 | |
with: | |
name: pass_status_message | |
path: status_message.txt | |
- name: Commit Whitespace Conventions | |
if: always() | |
run: ./scripts/githubActions/commitWhitespaceConventions.ps1 | |
- name: Upload artifact status_whitespace | |
if: always() | |
uses: actions/upload-artifact@v1 | |
with: | |
name: pass_status_whitespace | |
path: status_whitespace.txt | |
slackReport: | |
if: always() | |
needs: conventions | |
name: Generate Slack notification message | |
runs-on: ubuntu-latest | |
steps: | |
- uses: actions/checkout@v2 | |
- name: Download artifacts 1 | |
uses: actions/download-artifact@v1 | |
with: | |
name: pass_status_message | |
- name: Download artifacts 2 | |
uses: actions/download-artifact@v1 | |
with: | |
name: pass_status_whitespace | |
- name: Generate message | |
run: ./scripts/githubActions/ConventionsGenerateMessage.sh | |
env: | |
PRLINK: ${{ github.event.pull_request.html_url }} | |
PRTARGETBRANCH: ${{ github.event.pull_request.base.ref }} | |
PRNUMBER: ${{ github.event.pull_request.number }} | |
PRTITLE: ${{ github.event.pull_request.title }} | |
- name: Upload artifact slack_message | |
uses: actions/upload-artifact@v1 | |
with: | |
name: notification | |
path: notificationMessage.txt |