Isolate paths #295
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
# This workflow is triggered on PR being opened, synced, reopened, closed. | |
# It dispatches workflow on CompFuzzCI repository, where fuzzing of the PR is handled. | |
# For problems or suggestions, contact [email protected] | |
name: Fuzzing on PR | |
on: | |
pull_request_target: | |
branches: | |
- master | |
jobs: | |
FuzzOnPR: | |
if: github.event.pull_request.base.ref == 'master' && | |
(github.event.pull_request.author_association == 'COLLABORATOR' || | |
github.event.pull_request.author_association == 'MEMBER' || | |
github.event.pull_request.author_association == 'OWNER') | |
runs-on: ubuntu-latest | |
steps: | |
- name: Trigger CompFuzzCI | |
uses: actions/github-script@v7 | |
with: | |
github-token: ${{ secrets.COMPFUZZCI_PAT }} | |
script: | | |
await github.rest.actions.createWorkflowDispatch({ | |
owner: 'CompFuzzCI', | |
repo: 'DafnyCompilerFuzzer', | |
workflow_id: 'fuzz.yaml', | |
ref: 'main', | |
inputs: { | |
pr: '${{github.event.pull_request.number}}', | |
author: '${{github.event.pull_request.user.login}}', | |
branch: '${{github.event.pull_request.head.ref}}', | |
head_sha: '${{github.event.pull_request.head.sha}}', | |
duration: '3600', | |
instance: '2' | |
} | |
}) |