From ff1e3ed640af7db04e0a0e0f3a47be69e436ce26 Mon Sep 17 00:00:00 2001 From: Francesco Bigiarini Date: Mon, 2 Dec 2024 14:18:12 +0100 Subject: [PATCH] Add zaerl to GitHub workflows actors (#2041) ## Motivation for the change, related issues I need to run [this workflow](https://github.com/WordPress/wordpress-playground/pull/2027#issuecomment-2510255816), as well of the future ones. ## Implementation details Add myself to the `if` instructions of the GitHub workflows. ## Testing Instructions (or ideally a Blueprint) Nothing testable. Once merged, I will be able to run https://github.com/WordPress/wordpress-playground/actions/workflows/publish-npm-packages.yml and others. --- .github/workflows/build-website.yml | 5 +++-- .github/workflows/publish-npm-packages.yml | 5 +++-- .github/workflows/refresh-sqlite-integration.yml | 5 +++-- .github/workflows/refresh-wordpress-major-and-beta.yml | 5 +++-- .github/workflows/refresh-wordpress-nightly.yml | 5 +++-- .github/workflows/update-changelog.yml | 5 +++-- 6 files changed, 18 insertions(+), 12 deletions(-) diff --git a/.github/workflows/build-website.yml b/.github/workflows/build-website.yml index 00e29886d6..0eda30e9cc 100644 --- a/.github/workflows/build-website.yml +++ b/.github/workflows/build-website.yml @@ -13,7 +13,7 @@ concurrency: jobs: build_and_deploy: - # Only run this workflow from the trunk branch and when it's triggered by another workflow OR dmsnell OR adamziel + # Only run this workflow from the trunk branch and when it's triggered by another workflow OR a Playground maintainer if: > github.ref == 'refs/heads/trunk' && ( github.event_name == 'workflow_run' || @@ -21,7 +21,8 @@ jobs: github.actor == 'adamziel' || github.actor == 'dmsnell' || github.actor == 'bgrgicak' || - github.actor == 'brandonpayton' + github.actor == 'brandonpayton' || + github.actor == 'zaerl' ) # Specify runner + deployment step diff --git a/.github/workflows/publish-npm-packages.yml b/.github/workflows/publish-npm-packages.yml index 5ba59b18ac..e009c837c6 100644 --- a/.github/workflows/publish-npm-packages.yml +++ b/.github/workflows/publish-npm-packages.yml @@ -18,13 +18,14 @@ on: jobs: release: - # Only run this workflow from the trunk branch and when it's triggered by dmsnell OR adamziel + # Only run this workflow from the trunk branch and when it's triggered by a Playground maintainer if: > github.ref == 'refs/heads/trunk' && ( github.actor == 'adamziel' || github.actor == 'dmsnell' || github.actor == 'bgrgicak' || - github.actor == 'brandonpayton' + github.actor == 'brandonpayton' || + github.actor == 'zaerl' ) # Specify runner + deployment step diff --git a/.github/workflows/refresh-sqlite-integration.yml b/.github/workflows/refresh-sqlite-integration.yml index dc82866ca5..d33a6123a0 100644 --- a/.github/workflows/refresh-sqlite-integration.yml +++ b/.github/workflows/refresh-sqlite-integration.yml @@ -8,13 +8,14 @@ on: jobs: build_and_deploy: - # Only run this workflow from the trunk branch and when it's triggered by dmsnell OR adamziel + # Only run this workflow from the trunk branch and when it's triggered by a Playground maintainer if: > github.ref == 'refs/heads/trunk' && ( github.actor == 'adamziel' || github.actor == 'dmsnell' || github.actor == 'bgrgicak' || - github.actor == 'brandonpayton' + github.actor == 'brandonpayton' || + github.actor == 'zaerl' ) runs-on: ubuntu-latest diff --git a/.github/workflows/refresh-wordpress-major-and-beta.yml b/.github/workflows/refresh-wordpress-major-and-beta.yml index 86a70e5d2d..b490e5884c 100644 --- a/.github/workflows/refresh-wordpress-major-and-beta.yml +++ b/.github/workflows/refresh-wordpress-major-and-beta.yml @@ -13,13 +13,14 @@ on: jobs: build_wordpress_major_and_beta_push_to_github_and_deploy_website: - # Only run this workflow from the trunk branch and when it's triggered by a maintainer listed below + # Only run this workflow from the trunk branch and when it's triggered by a Playground maintainer if: > github.ref == 'refs/heads/trunk' && ( github.actor == 'adamziel' || github.actor == 'dmsnell' || github.actor == 'bgrgicak' || - github.actor == 'brandonpayton' + github.actor == 'brandonpayton' || + github.actor == 'zaerl' ) runs-on: ubuntu-latest diff --git a/.github/workflows/refresh-wordpress-nightly.yml b/.github/workflows/refresh-wordpress-nightly.yml index df415dce13..236ae67ac8 100644 --- a/.github/workflows/refresh-wordpress-nightly.yml +++ b/.github/workflows/refresh-wordpress-nightly.yml @@ -8,13 +8,14 @@ on: jobs: build_and_deploy: - # Only run this workflow from the trunk branch and when it's triggered by dmsnell OR adamziel + # Only run this workflow from the trunk branch and when it's triggered by a Playground maintainer if: > github.ref == 'refs/heads/trunk' && ( github.actor == 'adamziel' || github.actor == 'dmsnell' || github.actor == 'bgrgicak' || - github.actor == 'brandonpayton' + github.actor == 'brandonpayton' || + github.actor == 'zaerl' ) runs-on: ubuntu-latest diff --git a/.github/workflows/update-changelog.yml b/.github/workflows/update-changelog.yml index 9313c6799c..66aa556128 100644 --- a/.github/workflows/update-changelog.yml +++ b/.github/workflows/update-changelog.yml @@ -14,14 +14,15 @@ on: jobs: release: - # Only run this workflow from the trunk branch and when it's triggered by dmsnell OR adamziel + # Only run this workflow from the trunk branch and when it's triggered by a Playground maintainer if: > github.ref == 'refs/heads/trunk' && ( github.event.workflow_run.conclusion == 'success' || github.actor == 'adamziel' || github.actor == 'dmsnell' || github.actor == 'bgrgicak' || - github.actor == 'brandonpayton' + github.actor == 'brandonpayton' || + github.actor == 'zaerl' ) # Specify runner + deployment step