diff --git a/.github/workflows/pr_package.yml b/.github/workflows/pr_package.yml index 22b096346..a1ed3b6e0 100644 --- a/.github/workflows/pr_package.yml +++ b/.github/workflows/pr_package.yml @@ -9,6 +9,7 @@ on: - synchronize branches: - main + - test-update-artifacts jobs: create-package: diff --git a/.github/workflows/push_package.yml b/.github/workflows/push_package.yml index 1646ef42b..ef13aaa5f 100644 --- a/.github/workflows/push_package.yml +++ b/.github/workflows/push_package.yml @@ -4,6 +4,7 @@ on: push: branches: - main + - test-update-artifacts jobs: create-package: diff --git a/.github/workflows/update_artifacts_list.yml b/.github/workflows/update_artifacts_list.yml index 5ad834442..8970783c0 100644 --- a/.github/workflows/update_artifacts_list.yml +++ b/.github/workflows/update_artifacts_list.yml @@ -5,17 +5,25 @@ on: - completed workflows: - 'Creating plugin package in main branch' + # Add these for testing + push: + branches: + - test-update-artifacts + workflow_dispatch: # Allows manual triggering jobs: comment: - if: github.event.workflow_run.conclusion == 'success' + if: | + github.event_name == 'workflow_dispatch' || + github.event_name == 'push' || + (github.event_name == 'workflow_run' && github.event.workflow_run.conclusion == 'success') runs-on: ubuntu-latest steps: - name: Download workflow artifact - uses: dawidd6/action-download-artifact@v2.11.0 + uses: dawidd6/action-download-artifact@v11 with: github_token: ${{ secrets.GITHUB_TOKEN }} - workflow: peek_icons.yml + workflow: ${{ github.event.workflow_run.workflow_id }} run_id: ${{ github.event.workflow_run.id }} - name: Read the zip file name