top level workflow #1
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: Validate Pull Request | ||
on: | ||
workflow_call: | ||
inputs: | ||
number: | ||
required: true | ||
type: number | ||
review-state: | ||
required: false | ||
type: string | ||
secrets: | ||
GITHUB_TOKEN: | ||
Check failure on line 13 in .github/workflows/validate-pull-request.yaml GitHub Actions / .github/workflows/validate-pull-request.yamlInvalid workflow file
|
||
required: true | ||
jobs: | ||
validate-pr: | ||
runs-on: ubuntu-latest | ||
steps: | ||
- name: Echo Path | ||
run: echo "${{ github.workflow }}" | ||
- uses: ocadotechnology/codeforlife-workspace/.github/actions/python/setup-environment@new_contributor_validations # TODO: use @main | ||
with: | ||
python-version: 3.11 | ||
working-directory: ${{ github.workflow }} | ||
- name: Validate Pull Request | ||
shell: bash | ||
working-directory: ${{ github.workflow }} | ||
run: pipenv run python validate-pull-request | ||
env: | ||
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
NUMBER: ${{ inputs.number }} | ||
REVIEW_STATE: ${{ inputs.review-state }} |