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

RED-6621 - InfoSec review changes #5

Merged
merged 3 commits into from
Jul 18, 2024
Merged
Show file tree
Hide file tree
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
21 changes: 21 additions & 0 deletions .github/dependabot.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
version: 2
updates:
- package-ecosystem: "pub"
directory: "/__tests__/fixtures/checks"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/__tests__/fixtures/test-unit/with-chrome"
schedule:
interval: "weekly"
- package-ecosystem: "pub"
directory: "/__tests__/fixtures/test-unit/without-chrome"
schedule:
interval: "weekly"
- package-ecosystem: github-actions
directory: /
schedule:
interval: "weekly"
groups:
all:
patterns: ["*"]
2 changes: 1 addition & 1 deletion .github/workflows/test-unit.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ jobs:
- uses: actions/checkout@v4
- name: Install yq
run: |
sudo wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/download/v4.43.1/yq_linux_amd64
sudo wget -O /usr/local/bin/yq https://github.com/mikefarah/yq/releases/latest/download/yq_linux_amd64
Copy link
Contributor Author

Choose a reason for hiding this comment

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

Not sure why the download segment switched spots, but I tested that on my ubuntu box and it worked.

sudo chmod +x /usr/local/bin/yq
- working-directory: ${{ inputs.package-path }}
id: analyze
Expand Down
6 changes: 6 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# gha-dart-oss

This repo contains workflows for linting, unit testing, and publishing dart code. It has a low attack surface.

* Since this repo will open sourced soon, be careful to not check any secrets into source code.
* Since there are a lot of bash commands run in the yaml, be careful for command injection coming from unexpected user input.