Skip to content

Commit

Permalink
Merge pull request #44 from ProjectTorreyPines/jguterl-patch-4
Browse files Browse the repository at this point in the history
Update runtest_FUSE.yml
  • Loading branch information
jguterl authored Jun 5, 2024
2 parents 9a74daa + c49ecf8 commit 63b1d82
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/runtest_FUSE.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,21 +6,21 @@ on:
types:
- completed
jobs:
trigger-repob-workflow:
if: github.event.workflow_run.conclusion == 'success' # Run only when workflow run has succeeded, i.e. all jobs have succeeded
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT }} # Fine-grained GitHub PAT that was saved as repository secret
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'ProjectTorreyPines',
repo: 'FUSE.jl',
workflow_id: 'run_tests.yml',
ref: 'master'
})
- name: Debug with tmate if failure + manual trigger + debug mode
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 120
trigger-repob-workflow:
if: github.event.workflow_run.conclusion == 'success' # Run only when workflow run has succeeded, i.e. all jobs have succeeded
runs-on: ubuntu-latest
steps:
- uses: actions/github-script@v6
with:
github-token: ${{ secrets.PAT }} # Fine-grained GitHub PAT that was saved as repository secret
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'ProjectTorreyPines',
repo: 'FUSE.jl',
workflow_id: 'run_tests.yml',
ref: 'master'
})
- name: Debug with tmate if failure + manual trigger + debug mode
if: ${{ failure() && github.event_name == 'workflow_dispatch' && inputs.debug }}
uses: mxschmitt/action-tmate@v3
timeout-minutes: 120

0 comments on commit 63b1d82

Please sign in to comment.