Skip to content

Commit

Permalink
test
Browse files Browse the repository at this point in the history
  • Loading branch information
SKairinos committed Jan 5, 2024
1 parent 788ff7c commit dfa5979
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
5 changes: 4 additions & 1 deletion .github/workflows/validate-pull-request.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,9 @@ on:
review-state:
required: false
type: string
secrets:
GH_TOKEN:
required: true

jobs:
validate-pr:
Expand All @@ -27,6 +30,6 @@ jobs:
working-directory: ${{ github.workflow }}
run: pipenv run python validate-pull-request
env:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
GH_TOKEN: ${{ secrets.GH_TOKEN }}
NUMBER: ${{ inputs.number }}
REVIEW_STATE: ${{ inputs.review-state }}
3 changes: 2 additions & 1 deletion .github/workflows/verify-new-contributor.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@ on:
jobs:
validate-pr-review-state:
uses: ocadotechnology/codeforlife-workspace/.github/workflows/validate-pull-request/workflow.yaml@new_contributor_validations # TODO: use @main
secrets: inherit
secrets:
GH_TOKEN: ${{ secrets.GITHUB_TOKEN }}
with:
number: ${{ inputs.pull-request-number }}
review-state: APPROVED
Expand Down

0 comments on commit dfa5979

Please sign in to comment.