Skip to content

Commit

Permalink
chore: remove preparation step from ci.yaml since the github action i…
Browse files Browse the repository at this point in the history
…s working as expected: it will not run when the PR only contain update to docs; remove `chore/use-coveralls` branch from coverage-badge.yml trigger;
  • Loading branch information
riandyrn committed Jul 17, 2023
1 parent 2dd00c6 commit 00427e8
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 30 deletions.
28 changes: 0 additions & 28 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,34 +7,8 @@ on:
- 'docs/**'

jobs:
preparation:
name: Determine Changes
runs-on: ubuntu-latest
outputs:
exec-tests: ${{ (steps.changes.outputs.exec-tests == 'true') }}
steps:
- name: Checkout Current Commit
uses: actions/checkout@v3

- name: Determine Changes
uses: dorny/paths-filter@v2
id: changes
with:
filters: |
exec-tests:
- ".github/workflows/**"
- "internal/**"
- "build/**"
- "cmd/**"
- "deploy/**"
- "go.mod"
- "go.sum"
- "Makefile"
build-all:
name: Test Build All Container Images
needs: preparation
if: needs.preparation.outputs.exec-tests == 'true'
runs-on: ubuntu-latest
steps:
- name: Checkout Current Commit
Expand All @@ -60,8 +34,6 @@ jobs:

run-tests:
name: Run Automated Tests
needs: preparation
if: needs.preparation.outputs.exec-tests == 'true'
runs-on: ubuntu-latest
permissions:
contents: write
Expand Down
3 changes: 1 addition & 2 deletions .github/workflows/coverage-badge.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,9 @@ on:
- 'docs/**'
branches:
- master
- chore/use-coveralls

jobs:
gen-badge:
update-badge:
name: Update Coverage Badge
runs-on: ubuntu-latest
permissions:
Expand Down

0 comments on commit 00427e8

Please sign in to comment.