From 78ab2d290c16d9a22545af9fc5f34e21f28026b2 Mon Sep 17 00:00:00 2001 From: Maxence Maireaux Date: Wed, 25 Sep 2024 22:05:50 +0200 Subject: [PATCH] chore: update GitHub Actions workflow Remove 'Dirty' job from the releases workflow. --- .github/workflows/releases.yml | 30 ------------------------------ 1 file changed, 30 deletions(-) diff --git a/.github/workflows/releases.yml b/.github/workflows/releases.yml index 6a2fbad..7f50b24 100644 --- a/.github/workflows/releases.yml +++ b/.github/workflows/releases.yml @@ -7,38 +7,8 @@ permissions: contents: write jobs: - Dirty: - runs-on: "ubuntu-latest" - steps: - - uses: 'actions/checkout@v4' - with: - fetch-depth: 0 - - name: Setup Env - uses: ./.github/actions/env - with: - token: ${{ secrets.NUMARY_GITHUB_TOKEN }} - - run: > - earthly - --allow-privileged - --secret SPEAKEASY_API_KEY=$SPEAKEASY_API_KEY - ${{ contains(github.event.pull_request.labels.*.name, 'no-cache') && '--no-cache' || '' }} - +pre-commit - env: - SPEAKEASY_API_KEY: ${{ secrets.SPEAKEASY_API_KEY }} - - name: Get changed files - id: changed-files - run: | - hasChanged=$(git status --porcelain) - if (( $(echo ${#hasChanged}) != 0 )); then - git status - echo "There are changes in the repository" - exit 1 - fi - GoReleaser: runs-on: "ubuntu-latest" - needs: - - Dirty steps: - uses: earthly/actions-setup@v1 with: