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 git secrets ci ros1 #95

Merged
merged 5 commits into from
Oct 19, 2020
Merged

add git secrets ci ros1 #95

merged 5 commits into from
Oct 19, 2020

Conversation

ojasjoshi
Copy link
Contributor

Issue #, if available:

Description of changes:
Adding git secrets scan action to ROS1 workflows

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@ojasjoshi
Copy link
Contributor Author

ojasjoshi commented Oct 8, 2020

Blocked by aws-robotics/aws-robomaker-github-actions#17.

Before merging, requires version bump (to 2.3.4) for all aws-robomaker-gh-actions after is merged.

test.sh Outdated Show resolved Hide resolved
@mm318
Copy link
Contributor

mm318 commented Oct 9, 2020

The comments in #94 also apply here.

@@ -41,17 +41,19 @@ jobs:
run: |
# TODO(ros-tooling/setup-ros-docker#7): calling chown is necessary for now
sudo chown -R rosbuild:rosbuild "$HOME" .
- name: Scan using git-secrets
uses: aws-robotics/aws-robomaker-github-actions/git-secrets-scan-action@2.4.0
Copy link
Contributor

Choose a reason for hiding this comment

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

You had a concern that doing --scan-history would take a long time, right?

Anyway, I think we should move the scan to a separate workflow YAML file, so that the scanning can take place in parallel with building and bundling.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes I did.. but I tested --scan-history on some public repos with signicantly larger commit history and the time doesn't seem to exceed more than a minute at the most. I feel that should be considerably lesser than what build and bundle takes.

Bump to 2.4.1
Bump to 2.4.1
@ojasjoshi ojasjoshi merged commit a142efd into ros1 Oct 19, 2020
@ojasjoshi ojasjoshi deleted the ojas/add-git-secrets-action-ros1 branch October 19, 2020 20:29
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