Skip to content

Commit

Permalink
[.github] add CODEOWNERS + ofascommon workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
Z4ck404 committed Nov 15, 2023
1 parent 25caa12 commit 5e0ab15
Show file tree
Hide file tree
Showing 2 changed files with 29 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/CODEOWNERS
Validating CODEOWNERS rules …
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
* @Spotinst/team-bigdata
/.github/ @Spotinst/team-bigdata-devops
27 changes: 27 additions & 0 deletions .github/workflows/common.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,27 @@
name: Bigdata Commit Checks

on: [pull_request]

jobs:
ci:
runs-on: ubuntu-latest
steps:
- uses: actions/checkout@v3

- name: Install devctl
run: |
mkdir -p ${{ env.DEVCTL_INSTALL_DIR }}
curl -H "Authorization: token ${{ env.GITHUB_TOKEN }}" -o- ${{ env.DEVCTL_INSTALL_URL }} | INSTALL_DIR=${{ env.DEVCTL_INSTALL_DIR }} bash
echo ${{ env.DEVCTL_INSTALL_DIR }} >> $GITHUB_PATH
shell: bash
env:
DEVCTL_INSTALL_DIR: ${{runner.tool_cache}}/devctl
DEVCTL_INSTALL_URL: https://raw.githubusercontent.com/spotinst/bigdata-devctl/main/install.sh
GITHUB_TOKEN: ${{secrets.CI_PAT}}

- name: run validation checks
run: devctl ci
env:
GITHUB_TOKEN: ${{secrets.GITHUB_TOKEN}}
JIRA_TOKEN: ${{ secrets.JIRA_TOKEN }}
PR_ID: ${{ github.event.pull_request.number }}

0 comments on commit 5e0ab15

Please sign in to comment.