Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
21 changes: 21 additions & 0 deletions .github/workflows/brand-plugin-test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,16 @@ concurrency:
group: ${{ github.workflow }}-${{ github.event_name == 'pull_request' && github.head_ref || github.sha }}
cancel-in-progress: true

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:
setup:
name: Setup
runs-on: ubuntu-latest
permissions: {} # No checkout or GitHub API use; extracts branch metadata for reusable workflow inputs only
timeout-minutes: 10
outputs:
branch: ${{ steps.extract_branch.outputs.branch }}
steps:
Expand All @@ -27,6 +33,9 @@ jobs:
name: Bluehost Build and Test
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
permissions:
contents: read # Matches downstream reusable workflow; required for checkout/composer/GitHub-hosted actions using GITHUB_TOKEN on private repos
timeout-minutes: 45
with:
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
Expand All @@ -37,6 +46,9 @@ jobs:
name: HostGator Build and Test
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
permissions:
contents: read # Matches downstream reusable workflow; required for checkout/composer/GitHub-hosted actions using GITHUB_TOKEN on private repos
timeout-minutes: 45
with:
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
Expand All @@ -47,6 +59,9 @@ jobs:
name: Web.com Build and Test
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
permissions:
contents: read # Matches downstream reusable workflow; required for checkout/composer/GitHub-hosted actions using GITHUB_TOKEN on private repos
timeout-minutes: 45
with:
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
Expand All @@ -57,6 +72,9 @@ jobs:
name: Crazy Domains Build and Test
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
permissions:
contents: read # Matches downstream reusable workflow; required for checkout/composer/GitHub-hosted actions using GITHUB_TOKEN on private repos
timeout-minutes: 45
with:
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
Expand All @@ -67,6 +85,9 @@ jobs:
name: Mojo Build and Test
needs: setup
uses: newfold-labs/workflows/.github/workflows/module-plugin-test.yml@main
permissions:
contents: read # Matches downstream reusable workflow; required for checkout/composer/GitHub-hosted actions using GITHUB_TOKEN on private repos
timeout-minutes: 45
with:
module-repo: ${{ github.repository }}
module-branch: ${{ needs.setup.outputs.branch }}
Expand Down
9 changes: 8 additions & 1 deletion .github/workflows/codecoverage-main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,18 @@ on:
- master
workflow_dispatch:

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:

codecoverage:
runs-on: ubuntu-latest

permissions:
contents: write # Required to clone and push to gh-pages via git-auto-commit-action with GITHUB_TOKEN
pull-requests: write # Required to post coverage comments via mshick/add-pr-comment on pull requests
timeout-minutes: 60
services:
mysql:
image: mysql:5.7 # Password auth did not work on 8.0 on PHP 7.3, it did seem to work for PHP 7.4+
Expand Down
6 changes: 6 additions & 0 deletions .github/workflows/satis-webhook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,10 +5,16 @@ on:
types:
- created

# Disable permissions for all available scopes by default.
# Any needed permissions should be configured at the job level.
permissions: {}

jobs:
webhook:
name: Send Webhook
runs-on: ubuntu-latest
permissions: {} # Steps only use ${{ secrets.WEBHOOK_TOKEN }} for repository_dispatch; no GITHUB_TOKEN usage
timeout-minutes: 30
steps:

- name: Set Package
Expand Down
Loading