Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update runtest_FUSE.yml #44

Merged
merged 1 commit into from
Jun 5, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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