Skip to content

Commit

Permalink
workflow
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 8, 2024
1 parent ff9f823 commit 5e51ebe
Showing 1 changed file with 29 additions and 0 deletions.
29 changes: 29 additions & 0 deletions .github/workflows/validate-existing-contributor.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,29 @@
name: Validate Existing Contributor

on:
workflow_call:
inputs:
prod-branch:
required: true
type: string
default: production

env:
PYTHON_VERSION: 3.11
WORKING_DIR: .github/scripts/python/validate-existing-contributor

jobs:
validate-existing-contributor:
runs-on: ubuntu-latest
steps:
- name: 🐍 Set up Python ${{ env.PYTHON_VERSION }}
uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@main
with:
python-version: ${{ env.PYTHON_VERSION }}
working-directory: ${{ env.WORKING_DIR }}

- name: 🕵️ Validate Existing Contributor
working-directory: ${{ env.WORKING_DIR }}
run: pipenv run python .
env:
PROD_BRANCH: ${{ inputs.prod-branch }}

0 comments on commit 5e51ebe

Please sign in to comment.