-
Notifications
You must be signed in to change notification settings - Fork 639
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
github: factor out common workflows #1196
base: master
Are you sure you want to change the base?
Conversation
(This needs seL4/ci-actions#332 merged before the required actions can trigger, because they point to |
The new reusable workflow feature of GitHub allows us to avoid repeating the workflow definitions and collect them in the ci-actions repo instead. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Disambiguate from seL4Test runs on pull requests. Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
Signed-off-by: Gerwin Klein <gerwin.klein@proofcraft.systems>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good, nice.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename the file also to clarify this is a generic deploy: sel4test-deploy.yml
-> deploy.yml
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ah no, ignore that.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Maybe rename the file also to clarify this is a generic hw test: sel4test-hw.ym
-> test-hw.yml
concurrency: | ||
group: ${{ github.workflow }}-pr-${{ github.event.number }} | ||
cancel-in-progress: true | ||
types: [synchronize, labeled] |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Was it intentional no drop opened
and reopened
here?
types: [synchronize, labeled] | |
types: [opened, reopened, synchronize, labeled] |
We can now reuse workflow definitions, which means we can factor them out into the ci-actions repo and re-use over multiple other repositories.
Needs seL4/ci-actions#332 merged first.
The plan is to use this on the seL4 repo first for a while and then deploy to the rest when we are sure that everything works as we want it to.