Skip to content

Commit

Permalink
Allow workflow reuse across the FIREWHEEL ecosystem (#21)
Browse files Browse the repository at this point in the history
This adds the `workflow_call` keyword to the current workflows, enabling
the workflows to be used as [reusable
workflows](https://docs.github.com/en/actions/sharing-automations/reusing-workflows).
This will allow us to essentially import the standard FIREWHEEL
workflows in our model component repositories (see
sandialabs/firewheel_repo_base#1).
  • Loading branch information
mitchnegus authored Dec 2, 2024
1 parent c817f60 commit 041ab9b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/linting.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ on:
branches: [ "*" ]
pull_request:
branches: [ "main" ]
# Allow reuse across the FIREWHEEL ecosystem
workflow_call:

jobs:
lint:
Expand Down
2 changes: 2 additions & 0 deletions .github/workflows/python-publish.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,8 @@ name: Upload Python Package
on:
release:
types: [published]
# Allow reuse across the FIREWHEEL ecosystem
workflow_call:

permissions:
contents: read
Expand Down

0 comments on commit 041ab9b

Please sign in to comment.