From 5b208eb5213ecc6cf3b2c10e91561fadeaa019f3 Mon Sep 17 00:00:00 2001 From: tusharmathur-wk Date: Wed, 3 Apr 2024 15:45:07 +0530 Subject: [PATCH] FEDX-697 : GHA OSS changes --- .github/workflows/dart_ci.yml | 6 +++++- Dockerfile | 5 ----- skynet.yaml | 19 ------------------- 3 files changed, 5 insertions(+), 25 deletions(-) delete mode 100644 Dockerfile delete mode 100644 skynet.yaml diff --git a/.github/workflows/dart_ci.yml b/.github/workflows/dart_ci.yml index f72e09a..43f67b6 100644 --- a/.github/workflows/dart_ci.yml +++ b/.github/workflows/dart_ci.yml @@ -56,4 +56,8 @@ jobs: - name: Verify formatting run: dart run dart_dev format --check - if: always() && steps.install.outcome == 'success' \ No newline at end of file + if: always() && steps.install.outcome == 'success' + - uses: anchore/sbom-action@v0 + with: + path: ./ + format: cyclonedx-json \ No newline at end of file diff --git a/Dockerfile b/Dockerfile deleted file mode 100644 index d5eb60c..0000000 --- a/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM drydock-prod.workiva.net/workiva/dart2_base_image:2 -WORKDIR /build/ -ADD pubspec.yaml /build -RUN dart pub get -FROM scratch diff --git a/skynet.yaml b/skynet.yaml deleted file mode 100644 index 30310f4..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: GgF573n077H6Bppak72ZKBsWJ05pXCwxDtuf9MduR0YbIAJVVAgQcs803gx+dLBSJKTCt9H8UXU5b1OTPo2i/qMREMc= - -scripts: - - python3 /actions/verify_github_actions.py