pool_metadata -> Pool_metadata #61
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: Dispatch Workflow | |
concurrency: neutron-tests | |
on: | |
push: | |
branches: | |
- main | |
pull_request: | |
types: | |
- closed | |
jobs: | |
dispatch: | |
name: Dispatch Tests Workflow | |
runs-on: ubuntu-latest | |
steps: | |
- name: Evaluate PR Merged Status and Labels | |
run: | | |
PR_MERGED=${{ github.event.pull_request.merged }} | |
CONTAINS_LABEL=${{ contains(github.event.pull_request.labels.*.name, 'trigger-tests') }} | |
echo "PR Merged Status: $PR_MERGED" | |
echo "Contains 'trigger-tests' label: $CONTAINS_LABEL" | |
if [[ "$PR_MERGED" == "true" && "$CONTAINS_LABEL" == "true" ]]; then | |
echo "CONTINUE=true" >> $GITHUB_ENV | |
else | |
echo "CONTINUE=false" >> $GITHUB_ENV | |
fi | |
- name: Repository Dispatch | |
if: ${{ env.CONTINUE == 'true' }} | |
uses: peter-evans/repository-dispatch@v2 | |
with: | |
token: ${{ secrets.PAT_TOKEN }} | |
repository: neutron-org/neutron-tests | |
event-type: run-tests | |
client_payload: '{"checkdev":"true"}' |