Skip to content

Commit

Permalink
feat: auto changelog action added
Browse files Browse the repository at this point in the history
  • Loading branch information
mamrajyadav committed May 11, 2023
1 parent 5ee7d63 commit 5c91e10
Show file tree
Hide file tree
Showing 4 changed files with 35 additions and 20 deletions.
13 changes: 13 additions & 0 deletions .github/workflows/changelog.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
name: changelog
permissions: write-all
on:
push:
tags:
- "*"
workflow_dispatch:
jobs:
changelog:
uses: clouddrove/github-shared-workflows/.github/workflows/changelog.yml@master
secrets: inherit
with:
branch: 'master'
1 change: 1 addition & 0 deletions .github/workflows/terraform.yml
Original file line number Diff line number Diff line change
Expand Up @@ -58,6 +58,7 @@ jobs:
- name: tflint
uses: reviewdog/action-tflint@master
with:
tflint_version: v0.29.0
github_token: ${{ secrets.GITHUB }}
working_directory: ${{ matrix.directory }}
fail_on_error: 'true'
Expand Down
26 changes: 6 additions & 20 deletions .github/workflows/tfsec.yml
Original file line number Diff line number Diff line change
@@ -1,25 +1,11 @@
name: tfsec
permissions: write-all
on:
pull_request:

workflow_dispatch:
jobs:
tfsec:
name: tfsec sarif report
runs-on: ubuntu-latest

steps:
- name: Clone repo
uses: actions/checkout@master

- name: tfsec
uses: aquasecurity/tfsec-sarif-action@v0.1.0
with:
sarif_file: tfsec.sarif
working_directory: _example
full_repo_scan: true

- name: Upload SARIF file
uses: github/codeql-action/upload-sarif@v1
with:
# Path to SARIF file relative to the root of the repository
sarif_file: tfsec.sarif
uses: clouddrove/github-shared-workflows/.github/workflows/tfsec.yml@master
secrets: inherit
with:
working_directory: '.'
15 changes: 15 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
# Changelog
All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.0.1] - 2022-05-13

## [0.15.0] - 2021-11-12
### :bug: Bug Fixes
- [`b0077bc`](https://github.com/clouddrove/terraform-aws-security-hub/commit/b0077bcdba257827fe9ccc58564038ceedb6f450) - update with new github-action


[0.15.0]: https://github.com/clouddrove/terraform-aws-security-hub/compare/0.15.0...master
[1.0.1]: https://github.com/clouddrove/terraform-aws-security-hub/releases/tag/1.0.1

0 comments on commit 5c91e10

Please sign in to comment.