From 86f3b153e0c4e12611d98000d68f960140236755 Mon Sep 17 00:00:00 2001 From: tusharmathur-wk Date: Wed, 3 Apr 2024 16:37:30 +0530 Subject: [PATCH] FEDX-688 GHA OSS changes --- .github/workflows/dart_ci.yaml | 4 ++++ Dockerfile | 5 ----- skynet.yaml | 19 ------------------- 3 files changed, 4 insertions(+), 24 deletions(-) delete mode 100644 Dockerfile delete mode 100644 skynet.yaml diff --git a/.github/workflows/dart_ci.yaml b/.github/workflows/dart_ci.yaml index 6a0c6a9..521d03a 100644 --- a/.github/workflows/dart_ci.yaml +++ b/.github/workflows/dart_ci.yaml @@ -29,3 +29,7 @@ jobs: run: dart analyze - name: Run tests run: dart test + - uses: anchore/sbom-action@v0 + with: + path: ./ + format: cyclonedx-json diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index de35360..0000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM google/dart:2 -WORKDIR /build/ -ADD pubspec.yaml . -RUN dart pub get -FROM scratch diff --git a/skynet.yaml b/skynet.yaml deleted file mode 100644 index 2c31fa3..0000000 --- a/skynet.yaml +++ /dev/null @@ -1,19 +0,0 @@ -name: verify-github-actions -description: Verify that the github actions run passed, this is needed to make pipelines pass without manual intervention -contact: 'Frontend Frameworks Architecture / #support-frontend-architecture' -image: drydock.workiva.net/workiva/skynet-images:3728345 # Uses the image from this branch: https://github.com/Workiva/skynet-images/pull/127 -size: small -timeout: 600 - -run: - on-pull-request: true - on-promotion: true - when-modified-file-name-is: - - skynet.yaml - -env: -# encrypted github token used for requests to api.github.com - - secure: JXAQtMbN54jqPBxucpcY74F7553JTDBd5poxAAaFBiCuG/RZSVEQEBiP1LF1KhVwLT07z0pw0kf9dmNgxkl2iMKh+uM= - -scripts: - - python3 /actions/verify_github_actions.py