-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
182b319
commit 9450aa1
Showing
3 changed files
with
46 additions
and
74 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
name: terraform-ci | ||
on: | ||
pull_request: | ||
permissions: | ||
actions: read | ||
checks: read | ||
contents: read | ||
pull-requests: write | ||
jobs: | ||
ci: | ||
uses: SPHTech-Platform/reusable-workflows/.github/workflows/terraform.yaml@v2 | ||
with: | ||
upload_sarif: false | ||
default_runner_override_label: self-hosted | ||
runner_label: platform-eng-ent | ||
secrets: inherit |
This file was deleted.
Oops, something went wrong.
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,30 @@ | ||
name: Autoupdate pre-commit configs and tflint aws plugin | ||
|
||
on: | ||
# every sunday at midnight | ||
schedule: | ||
- cron: "0 0 * * 0" | ||
# on demand | ||
workflow_dispatch: | ||
|
||
# Request from Org admin to allow Github Action workflow to make PR under Settings > Actions > General | ||
permissions: | ||
actions: read | ||
checks: read | ||
contents: write #require this to write to repo | ||
pull-requests: write #require this to create PR | ||
|
||
jobs: | ||
auto-update: | ||
runs-on: | ||
- self-hosted | ||
- platform-eng-ent | ||
steps: | ||
- uses: SPHTech-Platform/gha-pre-commit-autoupdate@testgh | ||
name: Update pre-commit config automatically | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
- uses: SPHTech-Platform/gha-tflint-aws-plugin-autoupdate@main | ||
name: Update tflint aws plugin automatically | ||
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} |