Skip to content

Commit

Permalink
Fix pipelines (#197)
Browse files Browse the repository at this point in the history
<!-- Thank you for your contribution. Before you submit the pull
request:
1. Follow contributing guidelines, templates, the recommended Git
workflow, and any related documentation.
2. Read and submit the required Contributor Licence Agreements
(https://github.com/kyma-project/community/blob/main/CONTRIBUTING.md#agreements-and-licenses).
3. Test your changes and attach their results to the pull request.
4. Update the relevant documentation.

If the pull request requires a decision, follow the [decision-making
process](https://github.com/kyma-project/community/blob/main/governance.md)
and replace the PR template with the [decision record
template](https://github.com/kyma-project/community/blob/main/.github/ISSUE_TEMPLATE/decision-record.md).
-->

**Description**

Changes proposed in this pull request:

- fix patterns
- remove manual trivy installation

**Related issue(s)**
<!-- If you refer to a particular issue, provide its number. For
example, `Resolves #123`, `Fixes #43`, or `See also #33`. -->
  • Loading branch information
VOID404 authored Aug 13, 2024
2 parents b69cf35 + 9e4b2d7 commit 8af3429
Showing 1 changed file with 3 additions and 9 deletions.
12 changes: 3 additions & 9 deletions .github/workflows/compass-manager.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,9 @@ jobs:
with:
files_yaml: |
code:
- **.go
- go.mod
- go.sum
- ./**.go
- ./go.mod
- ./go.sum
unit-tests:
permissions:
Expand Down Expand Up @@ -81,12 +81,6 @@ jobs:
steps:
- name: Checkout code
uses: actions/checkout@v3

- name: Install trivy
run: |
mkdir /trivy
curl -L https://github.com/aquasecurity/trivy/releases/download/v0.49.1/trivy_0.49.1_Linux-64bit.tar.gz | tar xvz --directory=/trivy
/trivy/trivy --version

- name: Run Trivy vulnerability scanner
uses: aquasecurity/[email protected]
Expand Down

0 comments on commit 8af3429

Please sign in to comment.