Skip to content

Commit

Permalink
release v1.3.0 (#75)
Browse files Browse the repository at this point in the history
  • Loading branch information
Serpentiel committed Aug 26, 2022
1 parent 39e6861 commit be33ad4
Show file tree
Hide file tree
Showing 6 changed files with 64 additions and 10 deletions.
1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
blank_issues_enabled: false
contact_links:
- name: Contributing guidelines
url: https://github.com/Serpentiel/template/blob/main/CONTRIBUTING.md
Expand Down
24 changes: 24 additions & 0 deletions .github/workflows/auto_approve.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
name: Auto Approve

on:
pull_request:
branches:
- main
- release-*
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

permissions:
contents: read
pull-requests: write

jobs:
auto-approve:
runs-on: ubuntu-latest
if: contains(github.event.pull_request.labels.*.name, 'auto approve') || github.actor == 'dependabot[bot]'
steps:
- uses: hmarr/auto-approve-action@v2
13 changes: 9 additions & 4 deletions .github/workflows/changelog_enforcer.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,21 @@ on:
branches:
- main
- release-*
push:
branches:
- main
- release-*
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

permissions:
contents: read

jobs:
changelog-enforcer:
runs-on: ubuntu-latest
if: ((github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push') && github.actor != 'dependabot[bot]'
steps:
- uses: dangoslen/changelog-enforcer@v3
with:
skipLabels: no changelog
13 changes: 7 additions & 6 deletions .github/workflows/dependency_review.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,19 +5,20 @@ on:
branches:
- main
- release-*

# TODO: This is currently not supported, see https://github.com/actions/dependency-review-action/issues/30.
# push:
# branches:
# - main
# - release-*
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled

permissions:
contents: read

jobs:
dependency-review:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push'
steps:
- uses: actions/checkout@v3
- uses: actions/dependency-review-action@v2
7 changes: 7 additions & 0 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ on:
branches:
- main
- release-*
types:
- opened
- synchronize
- reopened
- labeled
- unlabeled
push:
branches:
- main
Expand All @@ -16,6 +22,7 @@ permissions:
jobs:
markdownlint:
runs-on: ubuntu-latest
if: (github.event_name == 'pull_request' && !contains(github.event.pull_request.labels.*.name, 'skip workflows')) || github.event_name == 'push'
steps:
- uses: actions/checkout@v3
- uses: DavidAnson/markdownlint-cli2-action@v7
Expand Down
16 changes: 16 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,18 +9,34 @@ to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

<!-- ### Added -->
<!-- markdownlint-disable-next-line -->
### Added

- Skip labels for Changelog Enforcer
- Skip workflows label for Dependency Review
- Skip workflows label for Lint
- Auto Approve workflow

<!-- ### Changed -->
<!-- markdownlint-disable-next-line -->
### Changed

- Disabled creation of issues without using a template
- Disabled Changelog Enforcer for dependabot

<!-- ### Deprecated -->
<!-- markdownlint-disable-next-line -->

<!-- ### Removed -->
<!-- markdownlint-disable-next-line -->
### Removed

- Dropped comment from Dependency Review workflow

<!-- ### Fixed -->
<!-- markdownlint-disable-next-line -->
### Fixed

- Prevent Changelog Enforcer from triggering on `push` events

<!-- ### Security -->
<!-- markdownlint-disable-next-line -->
Expand Down

0 comments on commit be33ad4

Please sign in to comment.