forked from Checkmarx/kics
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ci: triggering infra version bump (Checkmarx#4443)
Signed-off-by: Rogério Peixoto <[email protected]>
- Loading branch information
1 parent
d7ce6f8
commit 2cdd3e5
Showing
3 changed files
with
30 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
name: update-infra-version | ||
|
||
on: | ||
workflow_dispatch: | ||
release: | ||
type: [published] | ||
|
||
jobs: | ||
update-infra-version: | ||
name: Updates infra with new release | ||
runs-on: ubuntu-latest | ||
if: "!github.event.release.prerelease" | ||
steps: | ||
- name: Checkout project | ||
uses: actions/[email protected] | ||
with: | ||
fetch-depth: 0 | ||
- name: Update Terraform Cloud Integration | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.KICS_BOT_PAT }} | ||
repository: ${{ secrets.TFC_REPO_PATH }} | ||
event-type: new-release | ||
- name: Update Infra | ||
uses: peter-evans/repository-dispatch@v1 | ||
with: | ||
token: ${{ secrets.KICS_BOT_PAT }} | ||
repository: ${{ secrets.INFRA_REPO }} | ||
event-type: new-release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters