Skip to content

Commit

Permalink
chore: update GitHub Actions workflow
Browse files Browse the repository at this point in the history
Remove 'Dirty' job from the releases workflow.
  • Loading branch information
flemzord committed Sep 25, 2024
1 parent 5351894 commit 78ab2d2
Showing 1 changed file with 0 additions and 30 deletions.
30 changes: 0 additions & 30 deletions .github/workflows/releases.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 78ab2d2

Please sign in to comment.