diff --git a/.github/labeler.yml b/.github/labeler.yml new file mode 100644 index 000000000..60b9b8cd4 --- /dev/null +++ b/.github/labeler.yml @@ -0,0 +1,2 @@ +needs-changelog: + - base-branch: ['trunk'] diff --git a/.github/workflows/changelog.yml b/.github/workflows/changelog.yml new file mode 100644 index 000000000..52534ece6 --- /dev/null +++ b/.github/workflows/changelog.yml @@ -0,0 +1,36 @@ +name: "Pull Request Labeler" +on: + pull_request: + types: [closed] + +jobs: + labeler: + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk' + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + steps: + - uses: actions/labeler@v5 + + comment_pr: + if: github.event.pull_request.merged == true && github.event.pull_request.base.ref == 'trunk' + permissions: + contents: read + pull-requests: write + runs-on: ubuntu-latest + name: Comment about the change log label + steps: + - name: Comment PR + uses: thollander/actions-comment-pull-request@v3 + with: + message: | + Hey @${{ github.event.pull_request.assignee.login }}, good job getting this PR merged! :tada: + + Now, the `needs-changelog` label has been added to it. + + Please check if this PR needs to be included in the "Upcoming Changes" and "Release Notes" doc. If it doesn't, simply remove the label. + + If it does, please add an entry to our shared document, with screenshots and testing instructions if applicable, then remove the label. + + Thank you! :heart: diff --git a/.github/workflows/main.yml b/.github/workflows/main.yml index 064fef262..704e1550b 100644 --- a/.github/workflows/main.yml +++ b/.github/workflows/main.yml @@ -6,7 +6,7 @@ jobs: runs-on: ubuntu-latest steps: - name: Label when approved - uses: pullreminders/label-when-approved-action@master + uses: abinoda/label-when-approved-action@master env: APPROVALS: '1' GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} diff --git a/newspack-joseph/sass/theme-description.scss b/newspack-joseph/sass/theme-description.scss index bc2cf5276..ddda3652d 100644 --- a/newspack-joseph/sass/theme-description.scss +++ b/newspack-joseph/sass/theme-description.scss @@ -1,21 +1,23 @@ -/* +/*! Theme Name: Newspack Joseph -Theme URI: +Theme URI: https://github.com/Automattic/newspack-theme Author: Automattic Author URI: https://newspack.com -Description: -Requires at least: WordPress 4.9.6 +Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. +Requires at least: 6.6 +Tested up to: 6.7 Version: 2.1.0 License: GNU General Public License v2 or later -License URI: LICENSE -Template: newspack-theme +License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: newspack-joseph -Tags: -AMP: true +Tags: Newspack + This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. + Newspack Theme is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. + Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ diff --git a/newspack-katharine/sass/theme-description.scss b/newspack-katharine/sass/theme-description.scss index 755529cff..882bce971 100644 --- a/newspack-katharine/sass/theme-description.scss +++ b/newspack-katharine/sass/theme-description.scss @@ -1,21 +1,23 @@ -/* +/*! Theme Name: Newspack Katharine -Theme URI: +Theme URI: https://github.com/Automattic/newspack-theme Author: Automattic Author URI: https://newspack.com -Description: -Requires at least: WordPress 4.9.6 +Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. +Requires at least: 6.6 +Tested up to: 6.7 Version: 2.1.0 License: GNU General Public License v2 or later -License URI: LICENSE -Template: newspack-theme +License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: newspack-katharine -Tags: -AMP: true +Tags: Newspack + This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. + Newspack Theme is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. + Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ diff --git a/newspack-nelson/sass/theme-description.scss b/newspack-nelson/sass/theme-description.scss index ed2883a0f..0f6f7dab0 100644 --- a/newspack-nelson/sass/theme-description.scss +++ b/newspack-nelson/sass/theme-description.scss @@ -1,21 +1,23 @@ -/* +/*! Theme Name: Newspack Nelson -Theme URI: +Theme URI: https://github.com/Automattic/newspack-theme Author: Automattic Author URI: https://newspack.com -Description: -Requires at least: WordPress 4.9.6 +Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. +Requires at least: 6.6 +Tested up to: 6.7 Version: 2.1.0 License: GNU General Public License v2 or later -License URI: LICENSE -Template: newspack-theme +License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: newspack-nelson -Tags: -AMP: true +Tags: Newspack + This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. + Newspack Theme is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. + Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ diff --git a/newspack-sacha/sass/theme-description.scss b/newspack-sacha/sass/theme-description.scss index 48c654aa4..bc5649978 100644 --- a/newspack-sacha/sass/theme-description.scss +++ b/newspack-sacha/sass/theme-description.scss @@ -1,21 +1,23 @@ -/* +/*! Theme Name: Newspack Sacha -Theme URI: +Theme URI: https://github.com/Automattic/newspack-theme Author: Automattic Author URI: https://newspack.com -Description: -Requires at least: WordPress 4.9.6 +Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. +Requires at least: 6.6 +Tested up to: 6.7 Version: 2.1.0 License: GNU General Public License v2 or later -License URI: LICENSE -Template: newspack-theme +License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: newspack-sacha -Tags: -AMP: true +Tags: Newspack + This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. + Newspack Theme is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. + Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ diff --git a/newspack-scott/sass/theme-description.scss b/newspack-scott/sass/theme-description.scss index df26da10f..1a54a79fe 100644 --- a/newspack-scott/sass/theme-description.scss +++ b/newspack-scott/sass/theme-description.scss @@ -1,21 +1,23 @@ -/* +/*! Theme Name: Newspack Scott -Theme URI: +Theme URI: https://github.com/Automattic/newspack-theme Author: Automattic Author URI: https://newspack.com -Description: -Requires at least: WordPress 4.9.6 +Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. +Requires at least: 6.6 +Tested up to: 6.7 Version: 2.1.0 License: GNU General Public License v2 or later -License URI: LICENSE -Template: newspack-theme +License URI: http://www.gnu.org/licenses/gpl-2.0.html Text Domain: newspack-scott -Tags: -AMP: true +Tags: Newspack + This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. + Newspack Theme is based on Underscores https://underscores.me/, (C) 2012-2018 Automattic, Inc. Underscores is distributed under the terms of the GNU GPL v2 or later. + Normalizing styles have been helped along thanks to the fine work of Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/ */ diff --git a/newspack-theme/sass/print.scss b/newspack-theme/sass/print.scss index d770fd5ab..f63c99fcf 100755 --- a/newspack-theme/sass/print.scss +++ b/newspack-theme/sass/print.scss @@ -1,4 +1,4 @@ -/* +/*! Theme Name: Newspack Theme Adding print support. The print styles are based on the the great work of diff --git a/newspack-theme/sass/theme-description.scss b/newspack-theme/sass/theme-description.scss index c3fc1a97a..653c029a6 100644 --- a/newspack-theme/sass/theme-description.scss +++ b/newspack-theme/sass/theme-description.scss @@ -3,14 +3,14 @@ Theme Name: Newspack Theme URI: https://github.com/Automattic/newspack-theme Author: Automattic Author URI: https://newspack.com -Description: -Requires at least: WordPress 4.9.6 +Description: The official theme for Newspack, an all-in-one platform that simplifies publishing and drives audience and revenue right out of the box. +Requires at least: 6.6 +Tested up to: 6.7 Version: 2.1.0 License: GNU General Public License v2 or later -License URI: LICENSE -Text Domain: newspack -Tags: -AMP: true +License URI: http://www.gnu.org/licenses/gpl-2.0.html +Text Domain: newspack-theme +Tags: Newspack This theme, like WordPress, is licensed under the GPL. Use it to make something cool, have fun, and share what you've learned with others. diff --git a/readme.txt b/readme.txt index c71d9bca7..e6e7f5ba6 100755 --- a/readme.txt +++ b/readme.txt @@ -1,7 +1,7 @@ === Newspack Theme === Contributors: Automattic Tags: -Requires at least: 4.9.6 +Requires at least: 6.6 Tested up to: WordPress 5.0 Stable tag: 1.3 License: GPLv2 or later