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

Added detect-secrets to workflow #69

Open
wants to merge 3 commits into
base: main
Choose a base branch
from
Open

Added detect-secrets to workflow #69

wants to merge 3 commits into from

Conversation

aashir21
Copy link
Contributor

@aashir21 aashir21 commented Nov 25, 2024

Signed-off-by: Aashir Siddiqui <[email protected]>
Signed-off-by: Aashir Siddiqui <[email protected]>
Copy link
Contributor

@jadecarino jadecarino left a comment

Choose a reason for hiding this comment

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

Hi Ash, so GitHub Actions workflows are structured in a hierarchy of workflow > jobs > steps. In this workflow there are the jobs get-changed-modules, find-artifacts, and then several pr-build-* which are jobs that call other workflows (known as reusable workflows). The two steps you have added have been put into the find-artifacts job which would work, but they should be put in their own job so that 1 each job does a specific thing and 2 jobs can run in parallel to eachother (steps cannot) so the detect-secrets can run while other things are happening.

Please move the steps into their own job as described in the comment.

.github/workflows/pull-requests.yaml Outdated Show resolved Hide resolved
Copy link
Contributor

@jadecarino jadecarino left a comment

Choose a reason for hiding this comment

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

Good stuff :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants