Skip to content

Commit 21bc770

Browse files
Danny-SundaresanDanny-Sundaresan
authored andcommitted
Run verify workflow only on master
1 parent 3f097f6 commit 21bc770

File tree

3 files changed

+7
-4
lines changed

3 files changed

+7
-4
lines changed

.github/workflows/changelog-enforcer.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,12 @@ on:
55

66
jobs:
77
# Enforces the update of a changelog file on every pull request
8-
changelog:
8+
verify-new-unreleased-changelog-entry:
99
runs-on: ubuntu-latest
1010
steps:
1111
- name: Accessing github project files
1212
uses: actions/checkout@v2
13-
13+
1414
- uses: dangoslen/changelog-enforcer@v2
1515
with:
1616
changeLogPath: 'CHANGELOG.md'

.github/workflows/verify.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
name: Verify
22

33
on:
4-
push:
5-
branches: [ '*' ]
64
pull_request:
75
branches: [ '*' ]
86

CHANGELOG.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9+
### Updated
10+
- Removed branch protection. Not able to force push to master.
11+
- Run verify workflow only on PRs
12+
13+
## [v2021-05-22T21.22.12] - 2021-05-22
914
### Fixed
1015

1116
- Trying forced push again

0 commit comments

Comments
 (0)