Skip to content

Commit

Permalink
test: indentation
Browse files Browse the repository at this point in the history
  • Loading branch information
tdivoll committed Apr 4, 2024
1 parent 3f63814 commit 246c3ac
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 25 deletions.
36 changes: 18 additions & 18 deletions .github/workflows/trigger-docker-fetchdata.yml
Original file line number Diff line number Diff line change
@@ -1,22 +1,22 @@
# trigger-docker-fetchdata.yml
name: Trigger `ice-floe-tracker-pipeline` Docker build
on:
workflow_run:
workflows: [Build and PushContainer] # Name of GitHub workflow to trigger in target repository
types:
- completed
workflow_run:
workflows: [Build and PushContainer] # Name of GitHub workflow to trigger in target repository
types:
- completed
jobs:
trigger-docker-fetchdata:
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.TRIGGER_PAT }} # GitHub PAT that was saved as repository secret
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'WilhelmusLab',
repo: 'ice-floe-tracker-pipeline',
workflow_id: 'build-docker-fetchdata.yml',
ref: 'main'
})
trigger-docker-fetchdata:
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.TRIGGER_PAT }} # GitHub PAT that was saved as repository secret
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'WilhelmusLab',
repo: 'ice-floe-tracker-pipeline',
workflow_id: 'build-docker-fetchdata.yml',
ref: 'main'
})
14 changes: 7 additions & 7 deletions .github/workflows/trigger-docker-julia.yml
Original file line number Diff line number Diff line change
@@ -1,19 +1,19 @@
# trigger-docker-julia.yml
name: Trigger ice-floe-tracker-pipeline Docker build
on:
workflow_run:
workflows: [Build and Push Container] # Name of GitHub workflow to trigger in target repository
types:
- completed
workflow_run:
workflows: [Build and Push Container] # Name of GitHub workflow to trigger in target repository
types:
- completed
jobs:
trigger-docker-julia:
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.TRIGGER_PAT }} # GitHub PAT that was saved as repository secret
script: |
with:
github-token: ${{ secrets.TRIGGER_PAT }} # GitHub PAT that was saved as repository secret
script: |
await github.rest.actions.createworkflowDispatch({
owner: 'WilhelmusLab',
repo: 'ice-floe-tracker-pipeline',
Expand Down

0 comments on commit 246c3ac

Please sign in to comment.