Skip to content

Commit

Permalink
Update maven.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
mehtaanshul authored Nov 22, 2023
1 parent ad77b3f commit d9f38f3
Showing 1 changed file with 1 addition and 37 deletions.
38 changes: 1 addition & 37 deletions .github/workflows/maven.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ on:
- development
- master
- lineageondemand
- poc/access-control-json

jobs:
build:
Expand Down Expand Up @@ -94,40 +95,3 @@ jobs:
tags: |
ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:latest
ghcr.io/atlanhq/${{ github.event.repository.name }}-${{ steps.get_branch.outputs.branch }}:${{ steps.get_version.outputs.version }}
- name: Scan Image
uses: aquasecurity/trivy-action@master
with:
image-ref: 'ubuntu:18.04'
vuln-type: 'os,library'
format: 'sarif'
output: 'trivy-image-results.sarif'

- name: Upload Trivy scan results to GitHub Security tab
uses: github/codeql-action/[email protected]
with:
sarif_file: 'trivy-image-results.sarif'

- name: Check out into atlan repo
uses: actions/checkout@v2
with:
ref: main
repository: atlanhq/atlan
token: ${{ secrets.my_pat }}

- name: Add Changelog
run: |
mkdir -p gitlog
echo "- ${{ github.event.head_commit.message }}">>gitlog/${{ github.event.repository.name }}.txt
chmod +x ./scripts/create_changelog.sh
./scripts/create_changelog.sh
- name: Commit changes
uses: EndBug/add-and-commit@v7
with:
branch: main
author_name: atlan-ci
author_email: [email protected]
message: '${{ github.event.repository.name }}'
default_author: user_info
push: origin main

0 comments on commit d9f38f3

Please sign in to comment.