Skip to content

Commit 1bacb94

Browse files
Build "Merge pull request #3281 from Parsely/develop" (35e3359)
1 parent 5390e0d commit 1bacb94

File tree

117 files changed

+4839
-2609
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+4839
-2609
lines changed
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
name: Blank issue
3+
about: For anything that isn't a feature request or bug report
4+
labels: wp-parsely
5+
---

.github/ISSUE_TEMPLATE/bug_report.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: Bug report
33
about: Create a report to help us improve
4+
labels: "wp-parsely, Bug"
45
---
56

67
<!--

.github/ISSUE_TEMPLATE/config.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
blank_issues_enabled: false

.github/ISSUE_TEMPLATE/feature_request.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
name: Feature request
33
about: Suggest an idea for this project
4+
labels: wp-parsely
45
---
56

67
<!--

.github/ISSUE_TEMPLATE/release-template-new.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name: Release template [NEW]
33
about: Internally used for new releases
44
title: Release wp-parsely x.y.z
5-
labels: 'Type: Maintenance'
5+
labels: "wp-parsely, Maintenance"
66
---
77

88
This is an issue for tracking the next `wp-parsely` release. This ticket is to be opened the week before the actual release, so we have enough time to complete all the related tasks.

.github/ISSUE_TEMPLATE/release-template.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,7 @@
22
name: Release template
33
about: Internally used for new releases
44
title: Release wp-parsely x.y.z
5-
labels: 'Type: Maintenance'
6-
5+
labels: "wp-parsely, Maintenance"
76
---
87

98
This is an issue for tracking the next `wp-parsely` release. This ticket is to be opened the week before the actual release, so we have enough time to complete all the related tasks.

.github/dependabot.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,26 @@ updates:
77
schedule:
88
interval: 'daily'
99
open-pull-requests-limit: 50
10+
labels:
11+
- 'Deps'
12+
- 'Deps: JavaScript'
1013

1114
- package-ecosystem: 'composer'
1215
reviewers:
1316
- 'Parsely/wp-parsely'
1417
directory: '/'
1518
schedule:
1619
interval: 'daily'
20+
labels:
21+
- 'Deps'
22+
- 'Deps: PHP'
1723

1824
- package-ecosystem: 'github-actions'
1925
reviewers:
2026
- 'Parsely/wp-parsely'
2127
directory: '/'
2228
schedule:
2329
interval: 'daily'
30+
labels:
31+
- 'Deps'
32+
- 'Deps: GitHub Actions'

.github/workflows/build-plugin.yml

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@ on:
44
branches:
55
- trunk
66
- develop
7-
- temp-testing-branch
87
workflow_dispatch:
98
env:
109
SOURCE_REF: ${{ github.ref_name }}
@@ -14,7 +13,11 @@ concurrency:
1413
jobs:
1514
build:
1615
name: Build and Commit
17-
runs-on: ubuntu-latest
16+
runs-on: ubuntu-24.04
17+
permissions:
18+
contents: write
19+
pull-requests: write
20+
issues: write
1821
steps:
1922
- name: Setup BUILT_BRANCH env
2023
run: echo "BUILT_BRANCH=${SOURCE_REF}-built" >> $GITHUB_ENV
@@ -60,6 +63,12 @@ jobs:
6063
npm run build
6164
composer install --no-dev --optimize-autoloader --classmap-authoritative
6265
66+
- name: Remove `/vendor` from .gitignore
67+
run: |
68+
sed -i '/vendor/d' .gitignore
69+
# If the file was modified, add it to the git staging area
70+
git status -s | grep .gitignore && git add .gitignore
71+
6372
- name: Get list of changed files
6473
run: git status -s
6574

@@ -75,7 +84,7 @@ jobs:
7584
- name: Commit built files
7685
run: |
7786
# Add the built files
78-
git add -Af vendor/ build/
87+
git add -A vendor/ build/
7988
git status -s
8089
# Commit the changes using the commit message file
8190
git commit -F final_commit_message.txt --no-verify

.github/workflows/bump-version.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ env:
1515
jobs:
1616
validate_version:
1717
name: Validate the new version
18-
runs-on: ubuntu-latest
18+
runs-on: ubuntu-24.04
1919
outputs:
2020
current_version: ${{ steps.get_current_version.outputs.current_version }}
2121

@@ -68,7 +68,7 @@ jobs:
6868
run_release_php_script:
6969
name: Bump the version and create the PR
7070
needs: validate_version
71-
runs-on: ubuntu-latest
71+
runs-on: ubuntu-24.04
7272
env:
7373
CURRENT_VERSION: ${{ needs.validate_version.outputs.current_version }}
7474
GH_TOKEN: ${{ github.token }}
@@ -105,7 +105,7 @@ jobs:
105105
106106
- name: Format the version changelog
107107
run: |
108-
PARSELY_RELEASE_LOG=$(printf '%s' "$PARSELY_RELEASE_LOG" | sed 's/###/##/g')
108+
PARSELY_RELEASE_LOG=$(printf '%s' "$PARSELY_RELEASE_LOG" | sed 's/###/##/g' | sed 's/^[[:space:]]*//')
109109
echo $PARSELY_RELEASE_LOG
110110
# Write the multiline variable to $GITHUB_ENV using the correct syntax
111111
echo "PARSELY_RELEASE_LOG<<EOF" >> $GITHUB_ENV
@@ -120,4 +120,5 @@ jobs:
120120
$PARSELY_RELEASE_LOG" \
121121
--base ${{ github.ref_name }} \
122122
--head update/wp-parsely-version-to-${{ env.NEW_VERSION }} \
123-
--assignee ${{ github.actor }}
123+
--assignee ${{ github.actor }} \
124+
--milestone ${{ env.NEW_VERSION }}

.github/workflows/codeql-analysis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ concurrency:
2222
jobs:
2323
analyze:
2424
name: Analyze
25-
runs-on: ubuntu-20.04
25+
runs-on: ubuntu-24.04
2626
permissions:
2727
actions: read
2828
contents: read

0 commit comments

Comments
 (0)