chore: Update release configuration files to correctly use conventional-commits (#1755)

This commit is contained in:
Bryant Biggs
2022-01-10 04:22:56 -05:00
committed by GitHub
parent a5bf9429bd
commit a1d28a721a
3 changed files with 28 additions and 26 deletions

View File

@@ -1,4 +1,4 @@
name: "Validate PR title" name: 'Validate PR title'
on: on:
pull_request_target: pull_request_target:

View File

@@ -16,6 +16,8 @@ jobs:
release: release:
name: Release name: Release
runs-on: ubuntu-latest runs-on: ubuntu-latest
# Skip running release workflow on forks
if: github.repository_owner == 'terraform-aws-modules'
steps: steps:
- name: Checkout - name: Checkout
uses: actions/checkout@v2 uses: actions/checkout@v2

View File

@@ -1,32 +1,32 @@
name: "Mark or close stale issues and PRs" name: 'Mark or close stale issues and PRs'
on: on:
schedule: schedule:
- cron: "0 0 * * *" - cron: '0 0 * * *'
jobs: jobs:
stale: stale:
runs-on: ubuntu-latest runs-on: ubuntu-latest
steps: steps:
- uses: actions/stale@v4 - uses: actions/stale@v4
with: with:
repo-token: ${{ secrets.GITHUB_TOKEN }} repo-token: ${{ secrets.GITHUB_TOKEN }}
# Staling issues and PR's # Staling issues and PR's
days-before-stale: 30 days-before-stale: 30
stale-issue-label: stale stale-issue-label: stale
stale-pr-label: stale stale-pr-label: stale
stale-issue-message: | stale-issue-message: |
This issue has been automatically marked as stale because it has been open 30 days This issue has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this issue will be closed in 10 days with no activity. Remove stale label or comment or this issue will be closed in 10 days
stale-pr-message: | stale-pr-message: |
This PR has been automatically marked as stale because it has been open 30 days This PR has been automatically marked as stale because it has been open 30 days
with no activity. Remove stale label or comment or this PR will be closed in 10 days with no activity. Remove stale label or comment or this PR will be closed in 10 days
# Not stale if have this labels or part of milestone # Not stale if have this labels or part of milestone
exempt-issue-labels: bug,wip,on-hold exempt-issue-labels: bug,wip,on-hold
exempt-pr-labels: bug,wip,on-hold exempt-pr-labels: bug,wip,on-hold
exempt-all-milestones: true exempt-all-milestones: true
# Close issue operations # Close issue operations
# Label will be automatically removed if the issues are no longer closed nor locked. # Label will be automatically removed if the issues are no longer closed nor locked.
days-before-close: 10 days-before-close: 10
delete-branch: true delete-branch: true
close-issue-message: This issue was automatically closed because of stale in 10 days close-issue-message: This issue was automatically closed because of stale in 10 days
close-pr-message: This PR was automatically closed because of stale in 10 days close-pr-message: This PR was automatically closed because of stale in 10 days