From 09b6305a1646f90f388deb2840321179ef7e246c Mon Sep 17 00:00:00 2001 From: Michael Wagner Date: Mon, 26 Feb 2024 09:26:05 -0500 Subject: [PATCH] chore: e2e-security moved to weekly ci chore: release commands to stdout --- .github/workflows/ci.yml | 16 ---------------- .github/workflows/release.yml | 2 ++ .github/workflows/weekly.yml | 15 +++++++++++++++ 3 files changed, 17 insertions(+), 16 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 9ee62e5a..90aa2154 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -63,19 +63,3 @@ jobs: - name: Run build run: | earthly +gh-action-e2e - - e2e-security-specs: - needs: integration-specs - if: github.event_name == 'pull_request' - runs-on: ubuntu-latest - steps: - - uses: earthly/actions-setup@v1 - with: - version: v0.8.0 - - uses: actions/checkout@v4 - - name: Run build - run: | - earthly +gh-action-e2e-security - env: - EARTHLY_SECRETS: "BRIGHT_TOKEN=${{ secrets.BRIGHT_API_KEY }},BRIGHT_PROJECT_ID=${{ secrets.BRIGHT_PROJECT_ID }}" - EARTHLY_BUILD_ARGS: "github_ref=${{ github.ref }},github_sha=${{ github.sha }},github_run_id=${{ github.run_id }}" diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 3902b380..a2af7fa7 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -88,6 +88,7 @@ jobs: sha_="$(curl -sL $url_ | sha256sum | awk '{print $1}')" version_="$(yq '.version' shard.yml)" + set -x gh workflow run release.yml \ -R luckyframework/homebrew-lucky \ -f url=$url_ \ @@ -105,6 +106,7 @@ jobs: sha_="$(curl -sL $url_.sha256)" version_="$(yq '.version' shard.yml)" + set -x gh workflow run release.yml \ -R luckyframework/scoop-bucket \ -f url=$url_ \ diff --git a/.github/workflows/weekly.yml b/.github/workflows/weekly.yml index 67c079c2..6e21e7a9 100644 --- a/.github/workflows/weekly.yml +++ b/.github/workflows/weekly.yml @@ -21,3 +21,18 @@ jobs: - name: Run build run: | earthly +gh-action-weekly + + e2e-security-specs: + needs: integration-specs + runs-on: ubuntu-latest + steps: + - uses: earthly/actions-setup@v1 + with: + version: v0.8.0 + - uses: actions/checkout@v4 + - name: Run build + run: | + earthly +gh-action-e2e-security + env: + EARTHLY_SECRETS: "BRIGHT_TOKEN=${{ secrets.BRIGHT_API_KEY }},BRIGHT_PROJECT_ID=${{ secrets.BRIGHT_PROJECT_ID }}" + EARTHLY_BUILD_ARGS: "github_ref=${{ github.ref }},github_sha=${{ github.sha }},github_run_id=${{ github.run_id }}"