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

Add common workflow to be consumed by all components #8

Closed
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
14 changes: 14 additions & 0 deletions .github/workflows/common-workflow.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
name: Common Workflow

on:
workflow_call:
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Have you considered to make this a composite action, like https://github.com/project-codeflare/codeflare-operator/blob/main/.github/actions/kind/action.yml ?
Such action can be then called using https://github.com/project-codeflare/codeflare-operator/blob/main/.github/workflows/e2e_tests.yaml#L48-L49 .

However such approach still need to have workflow file in every repository.
Thinking if the application approach (like OpenShift CI) would have sense or whether it would be an overkill.


jobs:
add-to-project:
name: Add issue to CodeFlare Sprint Board
runs-on: ubuntu-latest
steps:
- uses: actions/[email protected]
with:
project-url: https://github.com/orgs/project-codeflare/projects/8
github-token: ${{ secrets.CODEFLARE_MACHINE_ACCOUNT_TOKEN }}