Skip to content

Commit

Permalink
Add zaerl to GitHub workflows actors (#2041)
Browse files Browse the repository at this point in the history
## Motivation for the change, related issues
I need to run [this
workflow](#2027 (comment)),
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.
  • Loading branch information
zaerl authored Dec 2, 2024
1 parent 8c30fc4 commit ff1e3ed
Show file tree
Hide file tree
Showing 6 changed files with 18 additions and 12 deletions.
5 changes: 3 additions & 2 deletions .github/workflows/build-website.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,16 @@ 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' ||
github.event_name == 'workflow_dispatch' ||
github.actor == 'adamziel' ||
github.actor == 'dmsnell' ||
github.actor == 'bgrgicak' ||
github.actor == 'brandonpayton'
github.actor == 'brandonpayton' ||
github.actor == 'zaerl'
)
# Specify runner + deployment step
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/publish-npm-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/refresh-sqlite-integration.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/refresh-wordpress-major-and-beta.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/refresh-wordpress-nightly.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
5 changes: 3 additions & 2 deletions .github/workflows/update-changelog.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit ff1e3ed

Please sign in to comment.