Skip to content

Commit

Permalink
Add trigger for labeling (#801)
Browse files Browse the repository at this point in the history
  • Loading branch information
andernath authored Apr 26, 2024
1 parent 8b65190 commit d818990
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/development-zip.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@ name: Share development zip

on:
pull_request_review:
types: [submitted]
types: [submitted, labeled ]

jobs:
get-versions:
if: github.event.review.state == 'approved'
if: github.event.review.state == 'approved' || github.event.label.name == 'deploy test'
name: Get versions
runs-on: ubuntu-latest
outputs:
Expand Down Expand Up @@ -78,4 +78,4 @@ jobs:
1. Download `onoffice-${{ needs.get-versions.outputs.developmentVersion }}-please-unpack.zip` from https://github.com/${{ github.repository }}/actions/runs/${{ github.run_id }}.
2. Unpack the downloaded file to get another .zip file.
3. Upload that inner .zip file to WordPress.
repo-token: ${{ secrets.GITHUB_TOKEN }}
repo-token: ${{ secrets.GITHUB_TOKEN }}

0 comments on commit d818990

Please sign in to comment.