Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update module workflows (cloudeteer/terraform-governance#58) #2

Merged
merged 1 commit into from
Dec 5, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading