diff --git a/CODEOWNERS b/.github/CODEOWNERS similarity index 100% rename from CODEOWNERS rename to .github/CODEOWNERS diff --git a/.github/ISSUE_TEMPLATE/bug_report.md b/.github/ISSUE_TEMPLATE/bug_report.md index d882cbb..c79686b 100644 --- a/.github/ISSUE_TEMPLATE/bug_report.md +++ b/.github/ISSUE_TEMPLATE/bug_report.md @@ -38,11 +38,11 @@ Steps to reproduce the behavior: -## Expected behavior +## Expected behaviour -## Actual behavior +## Actual behaviour diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 6607269..8e8388c 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -1,7 +1,7 @@ ### What does this PR do? 🛑 Please open an issue first to discuss any significant work and flesh out details/direction - we would hate for your time to be wasted. -Consult the [CONTRIBUTING](https://github.com/aws-ia/terraform-aws-eks-addon/.github/blob/main/CONTRIBUTING.md#contributing-via-pull-requests) guide for submitting pull-requests. +Consult the [CONTRIBUTING](https://github.com/aws-ia/terraform-aws-eks-ack-addons//blob/main/.github/CONTRIBUTING.md#contributing-via-pull-requests) guide for submitting pull-requests. @@ -10,9 +10,14 @@ Consult the [CONTRIBUTING](https://github.com/aws-ia/terraform-aws-eks-addon/.gi - Resolves # -### Test Results +### More - +- [ ] Yes, I have tested the PR using my local account setup (Provide any test evidence report under Additional Notes) +- [ ] Yes, I ran `pre-commit run -a` with this PR + +### For Moderators + +- [ ] E2E Test successfully complete before merge? ### Additional Notes diff --git a/.github/workflows/pr-title.yaml b/.github/workflows/pr-title.yaml index 7e863f0..bcef421 100644 --- a/.github/workflows/pr-title.yaml +++ b/.github/workflows/pr-title.yaml @@ -12,7 +12,7 @@ jobs: name: Validate PR title runs-on: ubuntu-latest steps: - - uses: amannn/action-semantic-pull-request@v4.5.0 + - uses: amannn/action-semantic-pull-request@v5.4.0 env: GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} with: diff --git a/.github/workflows/release.yaml b/.github/workflows/release.yaml deleted file mode 100644 index 6130084..0000000 --- a/.github/workflows/release.yaml +++ /dev/null @@ -1,38 +0,0 @@ -name: Release - -on: - workflow_dispatch: - push: - branches: - - main - paths: - - '*.tf' - -jobs: - release: - name: Release - runs-on: ubuntu-latest - # Skip running release workflow on forks - if: github.repository_owner == 'aws-ia' - steps: - - name: Checkout - uses: actions/checkout@v3 - with: - fetch-depth: 0 - persist-credentials: false - - - name: Setup Node.js - uses: actions/setup-node@v3 - with: - node-version: 16 - - # - name: Release - # uses: cycjimmy/semantic-release-action@v3 - # with: - # semantic_version: 18.0.0 - # extra_plugins: | - # @semantic-release/changelog@6.0.0 - # @semantic-release/git@10.0.0 - # conventional-changelog-conventionalcommits@4.6.3 - # env: - # GITHUB_TOKEN: ${{ secrets.SEMANTIC_RELEASE }} diff --git a/.github/workflows/stale-issue-pr.yaml b/.github/workflows/stale-issue-pr.yaml index c93fc25..56bc564 100644 --- a/.github/workflows/stale-issue-pr.yaml +++ b/.github/workflows/stale-issue-pr.yaml @@ -1,9 +1,12 @@ name: 'Stale Issue/PR' + on: workflow_dispatch: schedule: - cron: '0 0 * * *' +permissions: read-all + jobs: stale: runs-on: ubuntu-latest @@ -11,7 +14,7 @@ jobs: issues: write pull-requests: write steps: - - uses: actions/stale@main + - uses: actions/stale@v9 id: stale with: ascending: true diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 02138a8..c572fe9 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -3,35 +3,35 @@ repos: rev: v4.6.0 hooks: - id: trailing-whitespace - args: ["--markdown-linebreak-ext=md"] + args: ['--markdown-linebreak-ext=md'] - id: end-of-file-fixer - id: trailing-whitespace - id: check-merge-conflict - id: detect-private-key - id: detect-aws-credentials - args: ["--allow-missing-credentials"] + args: ['--allow-missing-credentials'] - repo: https://github.com/antonbabenko/pre-commit-terraform - rev: v1.89.1 + rev: v1.92.1 hooks: - id: terraform_fmt - id: terraform_docs args: - - "--args=--lockfile=false" + - '--args=--lockfile=false' - id: terraform_tflint args: - - "--args=--only=terraform_deprecated_interpolation" - - "--args=--only=terraform_deprecated_index" - - "--args=--only=terraform_unused_declarations" - - "--args=--only=terraform_comment_syntax" - - "--args=--only=terraform_documented_outputs" - - "--args=--only=terraform_documented_variables" - - "--args=--only=terraform_typed_variables" - - "--args=--only=terraform_module_pinned_source" - - "--args=--only=terraform_naming_convention" - - "--args=--only=terraform_required_version" - - "--args=--only=terraform_required_providers" - - "--args=--only=terraform_standard_module_structure" - - "--args=--only=terraform_workspace_remote" - - "--args=--only=terraform_empty_list_equality" - - "--args=--only=terraform_unused_required_providers" + - '--args=--only=terraform_deprecated_interpolation' + - '--args=--only=terraform_deprecated_index' + - '--args=--only=terraform_unused_declarations' + - '--args=--only=terraform_comment_syntax' + - '--args=--only=terraform_documented_outputs' + - '--args=--only=terraform_documented_variables' + - '--args=--only=terraform_typed_variables' + - '--args=--only=terraform_module_pinned_source' + - '--args=--only=terraform_naming_convention' + - '--args=--only=terraform_required_version' + - '--args=--only=terraform_required_providers' + - '--args=--only=terraform_standard_module_structure' + - '--args=--only=terraform_workspace_remote' + - '--args=--only=terraform_empty_list_equality' + - '--args=--only=terraform_unused_required_providers' - id: terraform_validate diff --git a/.releaserc.json b/.releaserc.json deleted file mode 100644 index 7885cfa..0000000 --- a/.releaserc.json +++ /dev/null @@ -1,20 +0,0 @@ -{ - "branches": [ - "main" - ], - "plugins": [ - [ - "@semantic-release/commit-analyzer", - { - "preset": "conventionalcommits" - } - ], - [ - "@semantic-release/release-notes-generator", - { - "preset": "conventionalcommits" - } - ], - "@semantic-release/github" - ] -}