Skip to content

Commit

Permalink
update module workflows (cloudeteer/terraform-governance#58) (#2)
Browse files Browse the repository at this point in the history
Signed-off-by: Andre Licht <[email protected]>
  • Loading branch information
lixhunter authored Dec 5, 2024
1 parent debc4ed commit e11398c
Show file tree
Hide file tree
Showing 5 changed files with 43 additions and 10 deletions.
2 changes: 1 addition & 1 deletion .github/CODEOWNERS
Original file line number Diff line number Diff line change
@@ -1 +1 @@
* @rswrz @lixhunter @Phil-Thoennissen
* @rswrz @lixhunter @Phil-Thoennissen @neonwhiskers
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/bug-template.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,4 +55,4 @@ body:
description: "By submitting this issue, you agree to follow our [Code of Conduct](https://github.com/cloudeteer/terraform-governance?tab=coc-ov-file#code-of-conduct)."
options:
- label: I agree to follow this repository's Code of Conduct
required: truee
required: true
16 changes: 16 additions & 0 deletions .github/PULL_REQUEST_TEMPLATE/pull_request_template.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
## Description
<!--- Describe your changes in detail -->

## PR Checklist
- [ ] I have checked if my changes close any open issues. If so please include appropriate [closing keywords](https://docs.github.com/en/issues/tracking-your-work-with-issues/linking-a-pull-request-to-an-issue#linking-a-pull-request-to-an-issue-using-a-keyword) below.
- [ ] I have updated/added documentation written in a helpful and kind way to assist users that may be unfamiliar with the resource / data source.
- [ ] I have checked for a proper tag for this PR: `breaking-change`, `feature`, `fix`, `other`, `ignore-release`
- [ ] I have used a **meaningful** PR title to help maintainers and other users understand this change and help prevent duplicate work.

## Motivation and Context
<!--- Why is this change required? What problem does it solve? -->
<!--- If it fixes an open issue, please link to the issue here. -->

## Breaking Changes
<!-- Does this break backwards compatibility with the current major version? -->
<!-- If so, please provide an explanation why it is necessary. -->
12 changes: 4 additions & 8 deletions .github/workflows/module-ci.yaml
Original file line number Diff line number Diff line change
@@ -1,26 +1,22 @@
name: module-ci
on:
workflow_dispatch:
schedule:
- cron: "0 0 * * 0" # weekly on Sunday at 00:00
push:
branches:
- main
pull_request:
types:
- opened
- edited
- synchronize
- labeled
- unlabeled
- ready_for_review

jobs:
module-ci:
uses: cloudeteer/terraform-governance/.github/workflows/module-ci.yaml@main
permissions:
contents: write
id-token: write
contents: read
issues: write
pull-requests: read
id-token: write
secrets:
ARM_CLIENT_ID: ${{ secrets.ARM_CLIENT_ID }}
ARM_SUBSCRIPTION_ID: ${{ secrets.ARM_SUBSCRIPTION_ID }}
Expand Down
21 changes: 21 additions & 0 deletions .github/workflows/module-manage-github.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
name: module-manage-github
on:
push:
branches:
- main
issues:
types:
- opened
pull_request:
types:
- opened
- labeled
- unlabeled

jobs:
module-manage-github:
uses: cloudeteer/terraform-governance/.github/workflows/module-github.yaml@main
permissions:
contents: write
pull-requests: read
secrets: inherit

0 comments on commit e11398c

Please sign in to comment.