From 3e833086f56c0cbae767d831b9af3f8ac6a60587 Mon Sep 17 00:00:00 2001 From: jmulford-bandwidth Date: Tue, 25 May 2021 16:05:54 -0400 Subject: [PATCH 1/4] DX-2024 readme enforcer --- .github/workflows/enforce-readme-update.yml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 .github/workflows/enforce-readme-update.yml diff --git a/.github/workflows/enforce-readme-update.yml b/.github/workflows/enforce-readme-update.yml new file mode 100644 index 0000000..bd48332 --- /dev/null +++ b/.github/workflows/enforce-readme-update.yml @@ -0,0 +1,19 @@ +# All PRs require an update to the readme. This should at least be a changelog update, but also include code updates + +name: Enforce readme update + +on: + pull_request: + branches: + - 'main' + +jobs: + enforce_readme_update: + name: Changelog Validate + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + - name: Confirm Release Notes Update + uses: dangoslen/changelog-enforcer@v2 + with: + changeLogPath: 'README.md' From 0a14eeb3a0065d96e6daa372c1c3cfd8a21efec1 Mon Sep 17 00:00:00 2001 From: jmulford-bandwidth Date: Tue, 25 May 2021 16:10:49 -0400 Subject: [PATCH 2/4] Added some release tags --- README.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/README.md b/README.md index eb06f2a..801e06c 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,15 @@ # Bandwidth PHP SDK +## Changelog + +| Version | Description | +|--|--| +| v5.1.0 | Added webrtc participant version | +| v5.0.0 | MFA error update and message priority | +| v4.0.0 | Added get messages and updated request bodies to required in the methods | +| v3.0.0 | Updated MFA verify schema and renamed CallEngineModifyConferenceRequest to ApiModifyConferenceRequest | +| v2.14.0 | Added sip uir and tag BXML verbs | + ## Getting Started ### Installation From 8fc1c2781fcf339efa9d1480450f157fc02caa06 Mon Sep 17 00:00:00 2001 From: jmulford-bandwidth Date: Wed, 26 May 2021 10:43:55 -0400 Subject: [PATCH 3/4] added release draft workflow --- .github/draft_release.yml | 20 ++++++++++++++++++++ .github/workflows/enforce-readme-update.yml | 19 ------------------- .github/workflows/release-draft.yml | 19 +++++++++++++++++++ 3 files changed, 39 insertions(+), 19 deletions(-) create mode 100644 .github/draft_release.yml delete mode 100644 .github/workflows/enforce-readme-update.yml create mode 100644 .github/workflows/release-draft.yml diff --git a/.github/draft_release.yml b/.github/draft_release.yml new file mode 100644 index 0000000..fe083e1 --- /dev/null +++ b/.github/draft_release.yml @@ -0,0 +1,20 @@ +name-template: 'v$NEXT_MINOR_VERSION' +tag-template: 'v$NEXT_MINOR_VERSION' +categories: + - title: 'Features' + labels: + - 'feature' + - 'enhancement' + - title: 'Bug Fixes' + labels: + - 'fix' + - 'bugfix' + - 'bug' + - title: 'Maintenance' + label: 'chore' +change-template: '- $TITLE @$AUTHOR (#$NUMBER)' +exclude-labels: + - 'skip-changelog' +template: | + ## Changes + $CHANGES diff --git a/.github/workflows/enforce-readme-update.yml b/.github/workflows/enforce-readme-update.yml deleted file mode 100644 index bd48332..0000000 --- a/.github/workflows/enforce-readme-update.yml +++ /dev/null @@ -1,19 +0,0 @@ -# All PRs require an update to the readme. This should at least be a changelog update, but also include code updates - -name: Enforce readme update - -on: - pull_request: - branches: - - 'main' - -jobs: - enforce_readme_update: - name: Changelog Validate - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - name: Confirm Release Notes Update - uses: dangoslen/changelog-enforcer@v2 - with: - changeLogPath: 'README.md' diff --git a/.github/workflows/release-draft.yml b/.github/workflows/release-draft.yml new file mode 100644 index 0000000..94c3948 --- /dev/null +++ b/.github/workflows/release-draft.yml @@ -0,0 +1,19 @@ +name: Create/update draft release + +on: + push: + branches: + - main + +jobs: + deploy: + name: deploy + runs-on: ubuntu-latest + steps: + - uses: actions/checkout@v2 + # Drafts your next Release notes as Pull Requests are merged + - uses: release-drafter/release-drafter@v5 + with: + config-name: draft_release.yml + env: + GITHUB_TOKEN: ${{ secrets.BW_GITHUB_TOKEN }} From 5874d094314c31133ab7e1ee24d581f18b602035 Mon Sep 17 00:00:00 2001 From: Jacob Mulford <39915377+jmulford-bw@users.noreply.github.com> Date: Wed, 26 May 2021 10:44:51 -0400 Subject: [PATCH 4/4] Update README.md --- README.md | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/README.md b/README.md index 801e06c..eb06f2a 100644 --- a/README.md +++ b/README.md @@ -1,15 +1,5 @@ # Bandwidth PHP SDK -## Changelog - -| Version | Description | -|--|--| -| v5.1.0 | Added webrtc participant version | -| v5.0.0 | MFA error update and message priority | -| v4.0.0 | Added get messages and updated request bodies to required in the methods | -| v3.0.0 | Updated MFA verify schema and renamed CallEngineModifyConferenceRequest to ApiModifyConferenceRequest | -| v2.14.0 | Added sip uir and tag BXML verbs | - ## Getting Started ### Installation