Skip to content

Commit 411ee16

Browse files
committed
refactor: consolidates workflows
1 parent 1cf007d commit 411ee16

File tree

4 files changed

+37
-35
lines changed

4 files changed

+37
-35
lines changed

.github/workflows/github-actions-changelog.yml

Lines changed: 0 additions & 15 deletions
This file was deleted.

.github/workflows/lint-pr-title.yml

Lines changed: 0 additions & 20 deletions
This file was deleted.

.github/workflows/lint-pr.yml

Lines changed: 31 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,31 @@
1+
name: "Lint PR"
2+
3+
on:
4+
pull_request:
5+
types:
6+
- opened
7+
- reopened
8+
- edited
9+
- synchronize
10+
11+
jobs:
12+
lint-pr-title:
13+
name: Lint PR Title
14+
runs-on: ubuntu-latest
15+
steps:
16+
- uses: amannn/action-semantic-pull-request@v3
17+
env:
18+
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }}
19+
with:
20+
validateSingleCommit: true
21+
22+
# Enforces the update of a changelog file on every pull request
23+
lint-changelog:
24+
name: Enforce Changelogs
25+
runs-on: ubuntu-latest
26+
steps:
27+
- uses: actions/checkout@v2
28+
- uses: dangoslen/changelog-enforcer@v2
29+
with:
30+
changeLogPath: "CHANGELOG.md"
31+
skipLabels: "Skip-Changelog"

CHANGELOG.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
99
## [unreleased]
1010

1111
## [0.28.0]
12+
- **[Breaking] Updates pre-commit hooks to use `pre-commit`**
13+
- Migration:
14+
```bash
15+
rm ./.git/hooks/pre-commit
16+
make set-up-hooks
17+
```
1218
- Adds `raw_user_info_from_provider` to `UserInfo` data in LinkedIn and Github third-party recipes.
1319
- **[Breaking] Bitbucket third-party recipe**
1420
- Moves `email` from `from_id_token_payload` to `from_user_info_api` in `raw_user_info_from_provider`.

0 commit comments

Comments
 (0)