Skip to content

Commit

Permalink
Merge pull request #45 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 63b1d82 + e7509c9 commit 25b1e6c
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 25b1e6c

Please sign in to comment.